From mboxrd@z Thu Jan 1 00:00:00 1970 From: kbuild test robot Subject: [PATCH] Input: fix platform_no_drv_owner.cocci warnings Date: Tue, 6 Oct 2015 09:35:31 +0800 Message-ID: <20151006013531.GA51658@roam> References: <201510060921.YCPWmDCt%fengguang.wu@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Content-Disposition: inline In-Reply-To: <201510060921.YCPWmDCt%fengguang.wu@intel.com> Sender: linux-kernel-owner@vger.kernel.org To: Noralf =?iso-8859-1?Q?Tr=F8nnes?= Cc: kbuild-all@01.org, linux-input@vger.kernel.org, Dmitry Torokhov , linux-kernel@vger.kernel.org List-Id: linux-input@vger.kernel.org drivers/input/touchscreen/ft6236.c:316: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 CC: Noralf Tr=F8nnes Signed-off-by: Fengguang Wu --- ft6236.c | 1 - 1 file changed, 1 deletion(-) --- a/drivers/input/touchscreen/ft6236.c +++ b/drivers/input/touchscreen/ft6236.c @@ -313,7 +313,6 @@ MODULE_DEVICE_TABLE(i2c, ft6236_id); static struct i2c_driver ft6236_driver =3D { .driver =3D { .name =3D "ft6236", - .owner =3D THIS_MODULE, .of_match_table =3D of_match_ptr(ft6236_of_match), }, .probe =3D ft6236_probe,