summaryrefslogtreecommitdiff
path: root/drivers/iio/dac/ad5696-i2c.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/dac/ad5696-i2c.c')
-rw-r--r--drivers/iio/dac/ad5696-i2c.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/iio/dac/ad5696-i2c.c b/drivers/iio/dac/ad5696-i2c.c
index 762503c1901b..aa36cbf0137c 100644
--- a/drivers/iio/dac/ad5696-i2c.c
+++ b/drivers/iio/dac/ad5696-i2c.c
@@ -65,11 +65,9 @@ static int ad5686_i2c_probe(struct i2c_client *i2c,
ad5686_i2c_write, ad5686_i2c_read);
}
-static int ad5686_i2c_remove(struct i2c_client *i2c)
+static void ad5686_i2c_remove(struct i2c_client *i2c)
{
ad5686_remove(&i2c->dev);
-
- return 0;
}
static const struct i2c_device_id ad5686_i2c_id[] = {