diff options
Diffstat (limited to 'drivers/gpio/gpio-mc9s08dz60.c')
-rw-r--r-- | drivers/gpio/gpio-mc9s08dz60.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-mc9s08dz60.c b/drivers/gpio/gpio-mc9s08dz60.c index dce35ff00db7..d62b4f8182bf 100644 --- a/drivers/gpio/gpio-mc9s08dz60.c +++ b/drivers/gpio/gpio-mc9s08dz60.c | |||
@@ -118,7 +118,8 @@ static int mc9s08dz60_remove(struct i2c_client *client) | |||
118 | 118 | ||
119 | mc9s = i2c_get_clientdata(client); | 119 | mc9s = i2c_get_clientdata(client); |
120 | 120 | ||
121 | return gpiochip_remove(&mc9s->chip); | 121 | gpiochip_remove(&mc9s->chip); |
122 | return 0; | ||
122 | } | 123 | } |
123 | 124 | ||
124 | static const struct i2c_device_id mc9s08dz60_id[] = { | 125 | static const struct i2c_device_id mc9s08dz60_id[] = { |