Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx> writes: > drivers/net/ethernet/mellanox/mlxsw/i2c.c | 4 +--- > diff --git a/drivers/net/ethernet/mellanox/mlxsw/i2c.c b/drivers/net/ethernet/mellanox/mlxsw/i2c.c > index ce843ea91464..50b7121a5e3c 100644 > --- a/drivers/net/ethernet/mellanox/mlxsw/i2c.c > +++ b/drivers/net/ethernet/mellanox/mlxsw/i2c.c > @@ -656,14 +656,12 @@ static int mlxsw_i2c_probe(struct i2c_client *client, > return err; > } > > -static int mlxsw_i2c_remove(struct i2c_client *client) > +static void mlxsw_i2c_remove(struct i2c_client *client) > { > struct mlxsw_i2c *mlxsw_i2c = i2c_get_clientdata(client); > > mlxsw_core_bus_device_unregister(mlxsw_i2c->core, false); > mutex_destroy(&mlxsw_i2c->cmd.lock); > - > - return 0; > } > > int mlxsw_i2c_driver_register(struct i2c_driver *i2c_driver) For mlxsw: Reviewed-by: Petr Machata <petrm@xxxxxxxxxx>