Message ID | 20160825065030.GA56099@lkp-sb04.intel.com |
---|---|
State | Not Applicable |
Headers | show |
--- a/drivers/i2c/muxes/i2c-mux-mlxcpld.c +++ b/drivers/i2c/muxes/i2c-mux-mlxcpld.c @@ -326,7 +326,6 @@ static int mlxcpld_mux_remove(struct i2c static struct i2c_driver mlxcpld_mux_driver = { .driver = { .name = "mlxcpld-mux", - .owner = THIS_MODULE, }, .probe = mlxcpld_mux_probe, .remove = mlxcpld_mux_remove,
drivers/i2c/muxes/i2c-mux-mlxcpld.c:329: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: Vadim Pasternak <vadimp@mellanox.com> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> --- i2c-mux-mlxcpld.c | 1 - 1 file changed, 1 deletion(-) -- To unsubscribe from this list: send the line "unsubscribe linux-i2c" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html