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 <vad...@mellanox.com>
Signed-off-by: Fengguang Wu <fengguang...@intel.com>
---

 i2c-mux-mlxcpld.c |    1 -
 1 file changed, 1 deletion(-)

--- 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,

Reply via email to