summaryrefslogtreecommitdiff
path: root/drivers/iio/gyro/bmg160_spi.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/gyro/bmg160_spi.c')
-rw-r--r--drivers/iio/gyro/bmg160_spi.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/iio/gyro/bmg160_spi.c b/drivers/iio/gyro/bmg160_spi.c
index 745962e1e423..fc2e453527b9 100644
--- a/drivers/iio/gyro/bmg160_spi.c
+++ b/drivers/iio/gyro/bmg160_spi.c
@@ -27,11 +27,9 @@ static int bmg160_spi_probe(struct spi_device *spi)
return bmg160_core_probe(&spi->dev, regmap, spi->irq, id->name);
}
-static int bmg160_spi_remove(struct spi_device *spi)
+static void bmg160_spi_remove(struct spi_device *spi)
{
bmg160_core_remove(&spi->dev);
-
- return 0;
}
static const struct spi_device_id bmg160_spi_id[] = {