aboutsummaryrefslogtreecommitdiff
path: root/drivers/hwmon/pmbus/max16064.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hwmon/pmbus/max16064.c')
-rw-r--r--drivers/hwmon/pmbus/max16064.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/hwmon/pmbus/max16064.c b/drivers/hwmon/pmbus/max16064.c
index e50b296e8db..1d77cf4d2d4 100644
--- a/drivers/hwmon/pmbus/max16064.c
+++ b/drivers/hwmon/pmbus/max16064.c
@@ -105,7 +105,8 @@ static int max16064_probe(struct i2c_client *client,
static int max16064_remove(struct i2c_client *client)
{
- return pmbus_do_remove(client);
+ pmbus_do_remove(client);
+ return 0;
}
static const struct i2c_device_id max16064_id[] = {