From patchwork Wed Nov 28 04:02:13 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fengguang Wu X-Patchwork-Id: 10701829 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id C89E613BB for ; Wed, 28 Nov 2018 04:03:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B4AF82C5B0 for ; Wed, 28 Nov 2018 04:03:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A613F2C5C6; Wed, 28 Nov 2018 04:03:26 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 4196B2C5B0 for ; Wed, 28 Nov 2018 04:03:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=+q68dlhRiBN/nhh9OMd94PmDv8TmyiG02f3rqr/9duY=; b=gmgCGGZliA8/1I BWDGvGvgp4aAisYl9Lx+K2tjZZs5WtxN7659+fD93Y3//zJSk8rFqjcIZorenWOsctYhcDgzni4oC IfuDKL14WjZPOt1y8Il0gv4QZgg3mUAVyaG10ZqOcN4vfU5J6EIIYZTv1qzk/C/8YmUzRyehlK/1B jcCfJhPO2KVyE6rtaSzVSRj7HDVSJtXzp75pNECTuymap+OjzE8xlAfmEYFyo7fdTofIVPs6JttwP SurXyuPynVTdZwiM1QShNYXbu56GuAoWfKgIPyxqMowm7mu2yLpSWdR/cvU/2nalX0dePhHcLYGYz acA+zzbdzJvykPngYiRg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gRr4J-0008Fg-Ko; Wed, 28 Nov 2018 04:03:19 +0000 Received: from mga07.intel.com ([134.134.136.100]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gRr43-0007sN-BP for linux-arm-kernel@lists.infradead.org; Wed, 28 Nov 2018 04:03:04 +0000 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga105.jf.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 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-Disposition: inline In-Reply-To: <1543335937-12689-4-git-send-email-andrei.stefanescu@microchip.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181127_200303_442435_7D3C44E8 X-CRM114-Status: GOOD ( 12.73 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, gregkh@linuxfoundation.org, lgirdwood@gmail.com, robh+dt@kernel.org, kbuild-all@01.org, Andrei.Stefanescu@microchip.com, Claudiu.Beznea@microchip.com, Cristian.Birsan@microchip.com, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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, },