summaryrefslogtreecommitdiff
path: root/drivers/iio/dac/ad5686-spi.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/dac/ad5686-spi.c')
-rw-r--r--drivers/iio/dac/ad5686-spi.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/iio/dac/ad5686-spi.c b/drivers/iio/dac/ad5686-spi.c
index 2628810fdbb1..d26fb29b6b04 100644
--- a/drivers/iio/dac/ad5686-spi.c
+++ b/drivers/iio/dac/ad5686-spi.c
@@ -95,11 +95,9 @@ static int ad5686_spi_probe(struct spi_device *spi)
ad5686_spi_write, ad5686_spi_read);
}
-static int ad5686_spi_remove(struct spi_device *spi)
+static void ad5686_spi_remove(struct spi_device *spi)
{
ad5686_remove(&spi->dev);
-
- return 0;
}
static const struct spi_device_id ad5686_spi_id[] = {