aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iio/adc/ad7476.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/adc/ad7476.c')
-rw-r--r--drivers/iio/adc/ad7476.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/iio/adc/ad7476.c b/drivers/iio/adc/ad7476.c
index 330248bfebae..1491fa6debb2 100644
--- a/drivers/iio/adc/ad7476.c
+++ b/drivers/iio/adc/ad7476.c
@@ -207,7 +207,7 @@ static const struct iio_info ad7476_info = {
207 .read_raw = &ad7476_read_raw, 207 .read_raw = &ad7476_read_raw,
208}; 208};
209 209
210static int __devinit ad7476_probe(struct spi_device *spi) 210static int ad7476_probe(struct spi_device *spi)
211{ 211{
212 struct ad7476_state *st; 212 struct ad7476_state *st;
213 struct iio_dev *indio_dev; 213 struct iio_dev *indio_dev;
@@ -277,7 +277,7 @@ error_ret:
277 return ret; 277 return ret;
278} 278}
279 279
280static int __devexit ad7476_remove(struct spi_device *spi) 280static int ad7476_remove(struct spi_device *spi)
281{ 281{
282 struct iio_dev *indio_dev = spi_get_drvdata(spi); 282 struct iio_dev *indio_dev = spi_get_drvdata(spi);
283 struct ad7476_state *st = iio_priv(indio_dev); 283 struct ad7476_state *st = iio_priv(indio_dev);
@@ -322,7 +322,7 @@ static struct spi_driver ad7476_driver = {
322 .owner = THIS_MODULE, 322 .owner = THIS_MODULE,
323 }, 323 },
324 .probe = ad7476_probe, 324 .probe = ad7476_probe,
325 .remove = __devexit_p(ad7476_remove), 325 .remove = ad7476_remove,
326 .id_table = ad7476_id, 326 .id_table = ad7476_id,
327}; 327};
328module_spi_driver(ad7476_driver); 328module_spi_driver(ad7476_driver);