Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932306AbcCHB4r (ORCPT ); Mon, 7 Mar 2016 20:56:47 -0500 Received: from nasmtp01.atmel.com ([192.199.1.246]:46222 "EHLO DVREDG02.corp.atmel.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932116AbcCHB4n (ORCPT ); Mon, 7 Mar 2016 20:56:43 -0500 From: "Yang, Wenyou" To: kbuild test robot CC: "kbuild-all@01.org" , Lee Jones , Rob Herring , Pawel Moll , "Mark Rutland" , Ian Campbell , Kumar Gala , "Ferre, Nicolas" , "linux-kernel@vger.kernel.org" , "devicetree@vger.kernel.org" Subject: RE: [PATCH] mfd: act8945a: fix platform_no_drv_owner.cocci warnings Thread-Topic: [PATCH] mfd: act8945a: fix platform_no_drv_owner.cocci warnings Thread-Index: AQHReMzg5ysrwsYCdUq2t8DC49SOT59Ox+8Q Date: Tue, 8 Mar 2016 01:53:37 +0000 Message-ID: References: <201603080703.Td3Y9Ers%fengguang.wu@intel.com> <20160307235423.GA88525@ivytown2.intel.com> In-Reply-To: <20160307235423.GA88525@ivytown2.intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.168.5.13] Content-Type: text/plain; charset="gb2312" MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by mail.home.local id u281up4L021159 Content-Length: 1481 Lines: 46 Hi Fengguang Wu, Thank you for your patch. > -----Original Message----- > From: kbuild test robot [mailto:lkp@intel.com] > Sent: 2016??3??8?? 7:54 > To: Yang, Wenyou > Cc: kbuild-all@01.org; Lee Jones ; Rob Herring > ; Pawel Moll ; Mark Rutland > ; Ian Campbell ; Kumar > Gala ; Ferre, Nicolas ; > linux-kernel@vger.kernel.org; devicetree@vger.kernel.org; Yang, Wenyou > > Subject: [PATCH] mfd: act8945a: fix platform_no_drv_owner.cocci warnings > > drivers/mfd/act8945a.c:100:6-11: 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 > > CC: Wenyou Yang > Signed-off-by: Fengguang Wu Reviewed-by: Wenyou Yang > --- > > act8945a.c | 1 - > 1 file changed, 1 deletion(-) > > --- a/drivers/mfd/act8945a.c > +++ b/drivers/mfd/act8945a.c > @@ -97,7 +97,6 @@ MODULE_DEVICE_TABLE(of, act8945a_of_matc static > struct i2c_driver act8945a_i2c_driver = { > .driver = { > .name = "act8945a", > - .owner = THIS_MODULE, > .of_match_table = of_match_ptr(act8945a_of_match), > }, > .probe = act8945a_i2c_probe, Best Regards, Wenyou Yang