summaryrefslogtreecommitdiffstats
path: root/drivers/iio/dac/ad5592r.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/dac/ad5592r.c')
-rw-r--r--drivers/iio/dac/ad5592r.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/iio/dac/ad5592r.c b/drivers/iio/dac/ad5592r.c
index 6bfd7951e18c..0f7abfa75bec 100644
--- a/drivers/iio/dac/ad5592r.c
+++ b/drivers/iio/dac/ad5592r.c
@@ -130,11 +130,9 @@ static int ad5592r_spi_probe(struct spi_device *spi)
return ad5592r_probe(&spi->dev, id->name, &ad5592r_rw_ops);
}
-static int ad5592r_spi_remove(struct spi_device *spi)
+static void ad5592r_spi_remove(struct spi_device *spi)
{
ad5592r_remove(&spi->dev);
-
- return 0;
}
static const struct spi_device_id ad5592r_spi_ids[] = {