diff options
Diffstat (limited to 'drivers/hwmon/pmbus/adm1275.c')
-rw-r--r-- | drivers/hwmon/pmbus/adm1275.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/drivers/hwmon/pmbus/adm1275.c b/drivers/hwmon/pmbus/adm1275.c index f81cb4adaeba..5e4421e57eb0 100644 --- a/drivers/hwmon/pmbus/adm1275.c +++ b/drivers/hwmon/pmbus/adm1275.c | |||
@@ -301,18 +301,12 @@ static int adm1275_probe(struct i2c_client *client, | |||
301 | return pmbus_do_probe(client, id, info); | 301 | return pmbus_do_probe(client, id, info); |
302 | } | 302 | } |
303 | 303 | ||
304 | static int adm1275_remove(struct i2c_client *client) | ||
305 | { | ||
306 | pmbus_do_remove(client); | ||
307 | return 0; | ||
308 | } | ||
309 | |||
310 | static struct i2c_driver adm1275_driver = { | 304 | static struct i2c_driver adm1275_driver = { |
311 | .driver = { | 305 | .driver = { |
312 | .name = "adm1275", | 306 | .name = "adm1275", |
313 | }, | 307 | }, |
314 | .probe = adm1275_probe, | 308 | .probe = adm1275_probe, |
315 | .remove = adm1275_remove, | 309 | .remove = pmbus_do_remove, |
316 | .id_table = adm1275_id, | 310 | .id_table = adm1275_id, |
317 | }; | 311 | }; |
318 | 312 | ||