summaryrefslogtreecommitdiff
path: root/drivers/iio/accel/mma7455_i2c.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/accel/mma7455_i2c.c')
-rw-r--r--drivers/iio/accel/mma7455_i2c.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/iio/accel/mma7455_i2c.c b/drivers/iio/accel/mma7455_i2c.c
index a3b84e8a3ea8..c63b321b01cd 100644
--- a/drivers/iio/accel/mma7455_i2c.c
+++ b/drivers/iio/accel/mma7455_i2c.c
@@ -26,11 +26,9 @@ static int mma7455_i2c_probe(struct i2c_client *i2c,
return mma7455_core_probe(&i2c->dev, regmap, name);
}
-static int mma7455_i2c_remove(struct i2c_client *i2c)
+static void mma7455_i2c_remove(struct i2c_client *i2c)
{
mma7455_core_remove(&i2c->dev);
-
- return 0;
}
static const struct i2c_device_id mma7455_i2c_ids[] = {