summaryrefslogtreecommitdiffstats
path: root/drivers/misc/ad525x_dpot-spi.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/misc/ad525x_dpot-spi.c')
-rw-r--r--drivers/misc/ad525x_dpot-spi.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/misc/ad525x_dpot-spi.c b/drivers/misc/ad525x_dpot-spi.c
index a9e75d80ad36..263055bda48b 100644
--- a/drivers/misc/ad525x_dpot-spi.c
+++ b/drivers/misc/ad525x_dpot-spi.c
@@ -90,10 +90,9 @@ static int ad_dpot_spi_probe(struct spi_device *spi)
spi_get_device_id(spi)->name);
}
-static int ad_dpot_spi_remove(struct spi_device *spi)
+static void ad_dpot_spi_remove(struct spi_device *spi)
{
ad_dpot_remove(&spi->dev);
- return 0;
}
static const struct spi_device_id ad_dpot_spi_id[] = {