aboutsummaryrefslogtreecommitdiff
path: root/drivers/iio/adc/ltc2496.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/adc/ltc2496.c')
-rw-r--r--drivers/iio/adc/ltc2496.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/iio/adc/ltc2496.c b/drivers/iio/adc/ltc2496.c
index dd956a7c216e..5a55f79f2574 100644
--- a/drivers/iio/adc/ltc2496.c
+++ b/drivers/iio/adc/ltc2496.c
@@ -78,13 +78,11 @@ static int ltc2496_probe(struct spi_device *spi)
return ltc2497core_probe(dev, indio_dev);
}
-static int ltc2496_remove(struct spi_device *spi)
+static void ltc2496_remove(struct spi_device *spi)
{
struct iio_dev *indio_dev = spi_get_drvdata(spi);
ltc2497core_remove(indio_dev);
-
- return 0;
}
static const struct of_device_id ltc2496_of_match[] = {