Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp683107imu; Tue, 27 Nov 2018 20:05:28 -0800 (PST) X-Google-Smtp-Source: AFSGD/WbrXhoug6im57Z5ldOXVBaOu5tk7TSyRvA4kgnP17QjOU4CazdGrHJ8MGbucuY6pdzOUdJ X-Received: by 2002:a63:344e:: with SMTP id b75mr30656028pga.184.1543377928168; Tue, 27 Nov 2018 20:05:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543377928; cv=none; d=google.com; s=arc-20160816; b=RMzsKhSRyBdY5P6ECBuHGQp6g0eBpWNDelHOMFv6ZMtMiuNyTRsRLi86TMIQbz523T +h4jQQH08nzABts53D7NrjXZZ2iGNkPXHSwb5UI9gePcJ+kbBz44A/Bi1qM6QWBuLdxV K2v09ekDkKfmwzsbfWfec1Og7ECX9rAlzKUPVchd36XJlxpW0mTVAs9po8i59DRpizCm LEjLXbdGTi7125nj/H4wtUgMVOUHvFjsxyt+amQ1lHWoms5/vonTV2d9AeDiCL4bWPd3 rjJHfj70Iq3ZRerQ8Ayn05yo3O0r7kBuC5NGtO67+n7EHRbtKOJQai2J8oqJn9uMtkvj xPtQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=/tR2dD7nyXsPaT4Swz9gXvCHse8ad6QDKbiDbsDqeY4=; b=DG+SlMFyz3XAfvEiuBBXL4vUd+5GA9m1FFJTl0MkGhy3DOTV5E0Vcm35WBjXPipi6M NfSQV7GCzpUDTdGLr7kaMsoRIdKMcrE16Pr4UR1O+GD1wCcWTD9cdhoL32RjZcxHvaQq XqUtzUmToziPUtpzbi6iX4122l05O8rKrx+s7OghKuTTLIgAsbdW46cglfZYwLgTdJlv gGb8xwkyh52Qvud4BlUd995Fqbh8A6d/g+0yYT3t+NviiuZgUEiMB0dJUsOzossWJdo5 htAXSsItey1+U474ck+Dd/Qnbc6ZnFDnErEzKDcG7ncbJAyseX3S+eaHr1/YBAEPDfBC Hxqg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t75si3845046pfa.170.2018.11.27.20.05.12; Tue, 27 Nov 2018 20:05:28 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727082AbeK1PC7 (ORCPT + 99 others); Wed, 28 Nov 2018 10:02:59 -0500 Received: from mga12.intel.com ([192.55.52.136]:60592 "EHLO mga12.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726847AbeK1PC6 (ORCPT ); Wed, 28 Nov 2018 10:02:58 -0500 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 27 Nov 2018 20:02:49 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,289,1539673200"; d="scan'208";a="113094663" Received: from lkp-server01.sh.intel.com (HELO lkp-server01) ([10.239.97.150]) by fmsmga004.fm.intel.com with ESMTP; 27 Nov 2018 20:02:47 -0800 Received: from kbuild by lkp-server01 with local (Exim 4.89) (envelope-from ) id 1gRr3n-0002Li-9p; Wed, 28 Nov 2018 12:02:47 +0800 Date: Wed, 28 Nov 2018 12:02:13 +0800 From: kbuild test robot To: Andrei.Stefanescu@microchip.com Cc: kbuild-all@01.org, lgirdwood@gmail.com, robh+dt@kernel.org, mark.rutland@arm.com, gregkh@linuxfoundation.org, Nicolas.Ferre@microchip.com, Cristian.Birsan@microchip.com, Claudiu.Beznea@microchip.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Andrei.Stefanescu@microchip.com Subject: [PATCH] regulator: mcp16502: fix platform_no_drv_owner.cocci warnings Message-ID: <20181128040213.GA30252@lkp-ne04> References: <1543335937-12689-4-git-send-email-andrei.stefanescu@microchip.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1543335937-12689-4-git-send-email-andrei.stefanescu@microchip.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: kbuild test robot drivers/regulator/mcp16502.c:530:3-8: No need to set .owner here. The core will do it. Remove .owner field if calls are used which set it automatically Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci Fixes: 9199c277faeb ("regulator: mcp16502: add regulator driver for MCP16502") CC: Andrei.Stefanescu@microchip.com Signed-off-by: kbuild test robot --- url: https://github.com/0day-ci/linux/commits/Andrei-Stefanescu-microchip-com/add-support-for-MCP16502-PMIC/20181128-041809 base: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next mcp16502.c | 1 - 1 file changed, 1 deletion(-) --- a/drivers/regulator/mcp16502.c +++ b/drivers/regulator/mcp16502.c @@ -527,7 +527,6 @@ static struct i2c_driver mcp16502_drv = .probe = mcp16502_probe, .driver = { .name = "mcp16502-regulator", - .owner = THIS_MODULE, .of_match_table = of_match_ptr(mcp16502_ids), .pm = &mcp16502_pm_ops, },