summaryrefslogtreecommitdiff
path: root/drivers/iio/gyro/bmg160_i2c.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/gyro/bmg160_i2c.c')
-rw-r--r--drivers/iio/gyro/bmg160_i2c.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/iio/gyro/bmg160_i2c.c b/drivers/iio/gyro/bmg160_i2c.c
index b3fa46bd02cb..908ccc385254 100644
--- a/drivers/iio/gyro/bmg160_i2c.c
+++ b/drivers/iio/gyro/bmg160_i2c.c
@@ -32,11 +32,9 @@ static int bmg160_i2c_probe(struct i2c_client *client,
return bmg160_core_probe(&client->dev, regmap, client->irq, name);
}
-static int bmg160_i2c_remove(struct i2c_client *client)
+static void bmg160_i2c_remove(struct i2c_client *client)
{
bmg160_core_remove(&client->dev);
-
- return 0;
}
static const struct acpi_device_id bmg160_acpi_match[] = {