summaryrefslogtreecommitdiff
path: root/drivers/iio/accel/mma7455_spi.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/accel/mma7455_spi.c')
-rw-r--r--drivers/iio/accel/mma7455_spi.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/iio/accel/mma7455_spi.c b/drivers/iio/accel/mma7455_spi.c
index ecf690692dcc..b746031551a3 100644
--- a/drivers/iio/accel/mma7455_spi.c
+++ b/drivers/iio/accel/mma7455_spi.c
@@ -22,11 +22,9 @@ static int mma7455_spi_probe(struct spi_device *spi)
return mma7455_core_probe(&spi->dev, regmap, id->name);
}
-static int mma7455_spi_remove(struct spi_device *spi)
+static void mma7455_spi_remove(struct spi_device *spi)
{
mma7455_core_remove(&spi->dev);
-
- return 0;
}
static const struct spi_device_id mma7455_spi_ids[] = {