diff options
Diffstat (limited to 'drivers/net/dsa/lan9303_i2c.c')
-rw-r--r-- | drivers/net/dsa/lan9303_i2c.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/net/dsa/lan9303_i2c.c b/drivers/net/dsa/lan9303_i2c.c index 79be5fc044bd..7d746cd9ca1b 100644 --- a/drivers/net/dsa/lan9303_i2c.c +++ b/drivers/net/dsa/lan9303_i2c.c @@ -65,16 +65,14 @@ static int lan9303_i2c_probe(struct i2c_client *client, return 0; } -static int lan9303_i2c_remove(struct i2c_client *client) +static void lan9303_i2c_remove(struct i2c_client *client) { struct lan9303_i2c *sw_dev = i2c_get_clientdata(client); if (!sw_dev) - return 0; + return; lan9303_remove(&sw_dev->chip); - - return 0; } static void lan9303_i2c_shutdown(struct i2c_client *client) |