[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160210024525.GA34639@lkp-nex05>
Date: Wed, 10 Feb 2016 10:45:25 +0800
From: kbuild test robot <lkp@...el.com>
To: Andrew Duggan <aduggan@...aptics.com>
Cc: kbuild-all@...org, linux-input@...r.kernel.org,
linux-kernel@...r.kernel.org,
Andrew Duggan <aduggan@...aptics.com>,
Dmitry Torokhov <dmitry.torokhov@...il.com>,
Linus Walleij <linus.walleij@...aro.org>,
Jiri Kosina <jikos@...nel.org>,
Benjamin Tissoires <benjamin.tissoires@...hat.com>,
Christopher Heiny <cheiny@...aptics.com>,
Stephen Chandler Paul <cpaul@...hat.com>,
Vincent Huang <vincent.huang@...synaptics.com>,
Chris Healy <cphealy@...il.com>,
Andrey Gusakov <andrey.gusakov@...entembedded.com>
Subject: [PATCH] Input: synaptics-rmi4: fix platform_no_drv_owner.cocci
warnings
drivers/input/rmi4/rmi_i2c.c:373: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: Andrew Duggan <aduggan@...aptics.com>
Signed-off-by: Fengguang Wu <fengguang.wu@...el.com>
---
rmi_i2c.c | 1 -
1 file changed, 1 deletion(-)
--- a/drivers/input/rmi4/rmi_i2c.c
+++ b/drivers/input/rmi4/rmi_i2c.c
@@ -370,7 +370,6 @@ MODULE_DEVICE_TABLE(i2c, rmi_id);
static struct i2c_driver rmi_i2c_driver = {
.driver = {
- .owner = THIS_MODULE,
.name = "rmi4_i2c",
.pm = &rmi_i2c_pm,
},
Powered by blists - more mailing lists