diff options
Diffstat (limited to 'drivers/iio/adc/ad7887.c')
-rw-r--r-- | drivers/iio/adc/ad7887.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/iio/adc/ad7887.c b/drivers/iio/adc/ad7887.c index 81153fafac7a..a33d5cd1a536 100644 --- a/drivers/iio/adc/ad7887.c +++ b/drivers/iio/adc/ad7887.c | |||
@@ -233,7 +233,7 @@ static const struct iio_info ad7887_info = { | |||
233 | .driver_module = THIS_MODULE, | 233 | .driver_module = THIS_MODULE, |
234 | }; | 234 | }; |
235 | 235 | ||
236 | static int __devinit ad7887_probe(struct spi_device *spi) | 236 | static int ad7887_probe(struct spi_device *spi) |
237 | { | 237 | { |
238 | struct ad7887_platform_data *pdata = spi->dev.platform_data; | 238 | struct ad7887_platform_data *pdata = spi->dev.platform_data; |
239 | struct ad7887_state *st; | 239 | struct ad7887_state *st; |
@@ -340,7 +340,7 @@ error_free: | |||
340 | return ret; | 340 | return ret; |
341 | } | 341 | } |
342 | 342 | ||
343 | static int __devexit ad7887_remove(struct spi_device *spi) | 343 | static int ad7887_remove(struct spi_device *spi) |
344 | { | 344 | { |
345 | struct iio_dev *indio_dev = spi_get_drvdata(spi); | 345 | struct iio_dev *indio_dev = spi_get_drvdata(spi); |
346 | struct ad7887_state *st = iio_priv(indio_dev); | 346 | struct ad7887_state *st = iio_priv(indio_dev); |
@@ -368,7 +368,7 @@ static struct spi_driver ad7887_driver = { | |||
368 | .owner = THIS_MODULE, | 368 | .owner = THIS_MODULE, |
369 | }, | 369 | }, |
370 | .probe = ad7887_probe, | 370 | .probe = ad7887_probe, |
371 | .remove = __devexit_p(ad7887_remove), | 371 | .remove = ad7887_remove, |
372 | .id_table = ad7887_id, | 372 | .id_table = ad7887_id, |
373 | }; | 373 | }; |
374 | module_spi_driver(ad7887_driver); | 374 | module_spi_driver(ad7887_driver); |