diff options
Diffstat (limited to 'drivers/iio/adc/ad7791.c')
-rw-r--r-- | drivers/iio/adc/ad7791.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/iio/adc/ad7791.c b/drivers/iio/adc/ad7791.c index e93740843b2b..5e8d1da6887f 100644 --- a/drivers/iio/adc/ad7791.c +++ b/drivers/iio/adc/ad7791.c | |||
@@ -325,8 +325,8 @@ static const struct iio_info ad7791_no_filter_info = { | |||
325 | .driver_module = THIS_MODULE, | 325 | .driver_module = THIS_MODULE, |
326 | }; | 326 | }; |
327 | 327 | ||
328 | static int __devinit ad7791_setup(struct ad7791_state *st, | 328 | static int ad7791_setup(struct ad7791_state *st, |
329 | struct ad7791_platform_data *pdata) | 329 | struct ad7791_platform_data *pdata) |
330 | { | 330 | { |
331 | /* Set to poweron-reset default values */ | 331 | /* Set to poweron-reset default values */ |
332 | st->mode = AD7791_MODE_BUFFER; | 332 | st->mode = AD7791_MODE_BUFFER; |
@@ -349,7 +349,7 @@ static int __devinit ad7791_setup(struct ad7791_state *st, | |||
349 | st->mode); | 349 | st->mode); |
350 | } | 350 | } |
351 | 351 | ||
352 | static int __devinit ad7791_probe(struct spi_device *spi) | 352 | static int ad7791_probe(struct spi_device *spi) |
353 | { | 353 | { |
354 | struct ad7791_platform_data *pdata = spi->dev.platform_data; | 354 | struct ad7791_platform_data *pdata = spi->dev.platform_data; |
355 | struct iio_dev *indio_dev; | 355 | struct iio_dev *indio_dev; |
@@ -418,7 +418,7 @@ err_iio_free: | |||
418 | return ret; | 418 | return ret; |
419 | } | 419 | } |
420 | 420 | ||
421 | static int __devexit ad7791_remove(struct spi_device *spi) | 421 | static int ad7791_remove(struct spi_device *spi) |
422 | { | 422 | { |
423 | struct iio_dev *indio_dev = spi_get_drvdata(spi); | 423 | struct iio_dev *indio_dev = spi_get_drvdata(spi); |
424 | struct ad7791_state *st = iio_priv(indio_dev); | 424 | struct ad7791_state *st = iio_priv(indio_dev); |
@@ -450,7 +450,7 @@ static struct spi_driver ad7791_driver = { | |||
450 | .owner = THIS_MODULE, | 450 | .owner = THIS_MODULE, |
451 | }, | 451 | }, |
452 | .probe = ad7791_probe, | 452 | .probe = ad7791_probe, |
453 | .remove = __devexit_p(ad7791_remove), | 453 | .remove = ad7791_remove, |
454 | .id_table = ad7791_spi_ids, | 454 | .id_table = ad7791_spi_ids, |
455 | }; | 455 | }; |
456 | module_spi_driver(ad7791_driver); | 456 | module_spi_driver(ad7791_driver); |