summaryrefslogtreecommitdiffstats
path: root/drivers/iio/accel/kxsd9-i2c.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/accel/kxsd9-i2c.c')
-rw-r--r--drivers/iio/accel/kxsd9-i2c.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/iio/accel/kxsd9-i2c.c b/drivers/iio/accel/kxsd9-i2c.c
index b580d605f848..274b41a6e603 100644
--- a/drivers/iio/accel/kxsd9-i2c.c
+++ b/drivers/iio/accel/kxsd9-i2c.c
@@ -34,7 +34,9 @@ static int kxsd9_i2c_probe(struct i2c_client *i2c,
static int kxsd9_i2c_remove(struct i2c_client *client)
{
- return kxsd9_common_remove(&client->dev);
+ kxsd9_common_remove(&client->dev);
+
+ return 0;
}
static const struct of_device_id kxsd9_of_match[] = {