summaryrefslogtreecommitdiff
path: root/drivers/iio/pressure/zpa2326_i2c.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/pressure/zpa2326_i2c.c')
-rw-r--r--drivers/iio/pressure/zpa2326_i2c.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/iio/pressure/zpa2326_i2c.c b/drivers/iio/pressure/zpa2326_i2c.c
index 0db0860d386b..f26dd8cbb387 100644
--- a/drivers/iio/pressure/zpa2326_i2c.c
+++ b/drivers/iio/pressure/zpa2326_i2c.c
@@ -53,11 +53,9 @@ static int zpa2326_probe_i2c(struct i2c_client *client,
zpa2326_i2c_hwid(client), regmap);
}
-static int zpa2326_remove_i2c(struct i2c_client *client)
+static void zpa2326_remove_i2c(struct i2c_client *client)
{
zpa2326_remove(&client->dev);
-
- return 0;
}
static const struct i2c_device_id zpa2326_i2c_ids[] = {