[PATCH] Input: synaptics-rmi4: fix platform_no_drv_owner.cocci warnings
From: kbuild test robot
Date: Tue Feb 09 2016 - 21:46:25 EST
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@xxxxxxxxxxxxx>
Signed-off-by: Fengguang Wu <fengguang.wu@xxxxxxxxx>
---
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,
},