Message ID | 20160210024525.GA34639@lkp-nex05 (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
--- 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, },
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@synaptics.com> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> --- rmi_i2c.c | 1 - 1 file changed, 1 deletion(-) -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html