diff options
Diffstat (limited to 'drivers/iio/frequency/ad9523.c')
-rw-r--r-- | drivers/iio/frequency/ad9523.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/iio/frequency/ad9523.c b/drivers/iio/frequency/ad9523.c index b737c64a402d..80307473e3a9 100644 --- a/drivers/iio/frequency/ad9523.c +++ b/drivers/iio/frequency/ad9523.c | |||
@@ -959,7 +959,7 @@ static int ad9523_setup(struct iio_dev *indio_dev) | |||
959 | return 0; | 959 | return 0; |
960 | } | 960 | } |
961 | 961 | ||
962 | static int __devinit ad9523_probe(struct spi_device *spi) | 962 | static int ad9523_probe(struct spi_device *spi) |
963 | { | 963 | { |
964 | struct ad9523_platform_data *pdata = spi->dev.platform_data; | 964 | struct ad9523_platform_data *pdata = spi->dev.platform_data; |
965 | struct iio_dev *indio_dev; | 965 | struct iio_dev *indio_dev; |
@@ -1020,7 +1020,7 @@ error_put_reg: | |||
1020 | return ret; | 1020 | return ret; |
1021 | } | 1021 | } |
1022 | 1022 | ||
1023 | static int __devexit ad9523_remove(struct spi_device *spi) | 1023 | static int ad9523_remove(struct spi_device *spi) |
1024 | { | 1024 | { |
1025 | struct iio_dev *indio_dev = spi_get_drvdata(spi); | 1025 | struct iio_dev *indio_dev = spi_get_drvdata(spi); |
1026 | struct ad9523_state *st = iio_priv(indio_dev); | 1026 | struct ad9523_state *st = iio_priv(indio_dev); |
@@ -1049,7 +1049,7 @@ static struct spi_driver ad9523_driver = { | |||
1049 | .owner = THIS_MODULE, | 1049 | .owner = THIS_MODULE, |
1050 | }, | 1050 | }, |
1051 | .probe = ad9523_probe, | 1051 | .probe = ad9523_probe, |
1052 | .remove = __devexit_p(ad9523_remove), | 1052 | .remove = ad9523_remove, |
1053 | .id_table = ad9523_id, | 1053 | .id_table = ad9523_id, |
1054 | }; | 1054 | }; |
1055 | module_spi_driver(ad9523_driver); | 1055 | module_spi_driver(ad9523_driver); |