summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/adc128d818.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hwmon/adc128d818.c')
-rw-r--r--drivers/hwmon/adc128d818.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/hwmon/adc128d818.c b/drivers/hwmon/adc128d818.c
index e7b9578631ec..97b330b6c165 100644
--- a/drivers/hwmon/adc128d818.c
+++ b/drivers/hwmon/adc128d818.c
@@ -495,14 +495,12 @@ error:
return err;
}
-static int adc128_remove(struct i2c_client *client)
+static void adc128_remove(struct i2c_client *client)
{
struct adc128_data *data = i2c_get_clientdata(client);
if (data->regulator)
regulator_disable(data->regulator);
-
- return 0;
}
static const struct i2c_device_id adc128_id[] = {