summaryrefslogtreecommitdiffstats
path: root/drivers/iio/dac/ad5593r.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/dac/ad5593r.c')
-rw-r--r--drivers/iio/dac/ad5593r.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/iio/dac/ad5593r.c b/drivers/iio/dac/ad5593r.c
index 5b4df36fdc2a..64dd7a0bddf7 100644
--- a/drivers/iio/dac/ad5593r.c
+++ b/drivers/iio/dac/ad5593r.c
@@ -99,7 +99,9 @@ static int ad5593r_i2c_probe(struct i2c_client *i2c,
static int ad5593r_i2c_remove(struct i2c_client *i2c)
{
- return ad5592r_remove(&i2c->dev);
+ ad5592r_remove(&i2c->dev);
+
+ return 0;
}
static const struct i2c_device_id ad5593r_i2c_ids[] = {