diff options
Diffstat (limited to 'drivers/iio/dac/ad5504.c')
-rw-r--r-- | drivers/iio/dac/ad5504.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/iio/dac/ad5504.c b/drivers/iio/dac/ad5504.c index 242bdc7d0044..b2a31a0468ed 100644 --- a/drivers/iio/dac/ad5504.c +++ b/drivers/iio/dac/ad5504.c | |||
@@ -277,7 +277,7 @@ static const struct iio_chan_spec ad5504_channels[] = { | |||
277 | AD5504_CHANNEL(3), | 277 | AD5504_CHANNEL(3), |
278 | }; | 278 | }; |
279 | 279 | ||
280 | static int __devinit ad5504_probe(struct spi_device *spi) | 280 | static int ad5504_probe(struct spi_device *spi) |
281 | { | 281 | { |
282 | struct ad5504_platform_data *pdata = spi->dev.platform_data; | 282 | struct ad5504_platform_data *pdata = spi->dev.platform_data; |
283 | struct iio_dev *indio_dev; | 283 | struct iio_dev *indio_dev; |
@@ -352,7 +352,7 @@ error_ret: | |||
352 | return ret; | 352 | return ret; |
353 | } | 353 | } |
354 | 354 | ||
355 | static int __devexit ad5504_remove(struct spi_device *spi) | 355 | static int ad5504_remove(struct spi_device *spi) |
356 | { | 356 | { |
357 | struct iio_dev *indio_dev = spi_get_drvdata(spi); | 357 | struct iio_dev *indio_dev = spi_get_drvdata(spi); |
358 | struct ad5504_state *st = iio_priv(indio_dev); | 358 | struct ad5504_state *st = iio_priv(indio_dev); |
@@ -383,7 +383,7 @@ static struct spi_driver ad5504_driver = { | |||
383 | .owner = THIS_MODULE, | 383 | .owner = THIS_MODULE, |
384 | }, | 384 | }, |
385 | .probe = ad5504_probe, | 385 | .probe = ad5504_probe, |
386 | .remove = __devexit_p(ad5504_remove), | 386 | .remove = ad5504_remove, |
387 | .id_table = ad5504_id, | 387 | .id_table = ad5504_id, |
388 | }; | 388 | }; |
389 | module_spi_driver(ad5504_driver); | 389 | module_spi_driver(ad5504_driver); |