summaryrefslogtreecommitdiffstats
path: root/drivers/iio/accel/bma400_spi.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/accel/bma400_spi.c')
-rw-r--r--drivers/iio/accel/bma400_spi.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/iio/accel/bma400_spi.c b/drivers/iio/accel/bma400_spi.c
index 9f622e37477b..9040a717b247 100644
--- a/drivers/iio/accel/bma400_spi.c
+++ b/drivers/iio/accel/bma400_spi.c
@@ -87,11 +87,9 @@ static int bma400_spi_probe(struct spi_device *spi)
return bma400_probe(&spi->dev, regmap, id->name);
}
-static int bma400_spi_remove(struct spi_device *spi)
+static void bma400_spi_remove(struct spi_device *spi)
{
bma400_remove(&spi->dev);
-
- return 0;
}
static const struct spi_device_id bma400_spi_ids[] = {