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, 3 insertions, 1 deletions
diff --git a/drivers/iio/dac/ad5696-i2c.c b/drivers/iio/dac/ad5696-i2c.c
index 24a6a4a5a2e0..93f0e0e66c22 100644
--- a/drivers/iio/dac/ad5696-i2c.c
+++ b/drivers/iio/dac/ad5696-i2c.c
@@ -67,7 +67,9 @@ static int ad5686_i2c_probe(struct i2c_client *i2c,
static int ad5686_i2c_remove(struct i2c_client *i2c)
{
- return ad5686_remove(&i2c->dev);
+ ad5686_remove(&i2c->dev);
+
+ return 0;
}
static const struct i2c_device_id ad5686_i2c_id[] = {