diff options
Diffstat (limited to 'drivers/iio/dac/ad5686.c')
-rw-r--r-- | drivers/iio/dac/ad5686.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/iio/dac/ad5686.c b/drivers/iio/dac/ad5686.c index 01eb1d0e4e41..ca9609d7a15c 100644 --- a/drivers/iio/dac/ad5686.c +++ b/drivers/iio/dac/ad5686.c | |||
@@ -313,7 +313,7 @@ static const struct ad5686_chip_info ad5686_chip_info_tbl[] = { | |||
313 | }; | 313 | }; |
314 | 314 | ||
315 | 315 | ||
316 | static int __devinit ad5686_probe(struct spi_device *spi) | 316 | static int ad5686_probe(struct spi_device *spi) |
317 | { | 317 | { |
318 | struct ad5686_state *st; | 318 | struct ad5686_state *st; |
319 | struct iio_dev *indio_dev; | 319 | struct iio_dev *indio_dev; |
@@ -383,7 +383,7 @@ error_put_reg: | |||
383 | return ret; | 383 | return ret; |
384 | } | 384 | } |
385 | 385 | ||
386 | static int __devexit ad5686_remove(struct spi_device *spi) | 386 | static int ad5686_remove(struct spi_device *spi) |
387 | { | 387 | { |
388 | struct iio_dev *indio_dev = spi_get_drvdata(spi); | 388 | struct iio_dev *indio_dev = spi_get_drvdata(spi); |
389 | struct ad5686_state *st = iio_priv(indio_dev); | 389 | struct ad5686_state *st = iio_priv(indio_dev); |
@@ -412,7 +412,7 @@ static struct spi_driver ad5686_driver = { | |||
412 | .owner = THIS_MODULE, | 412 | .owner = THIS_MODULE, |
413 | }, | 413 | }, |
414 | .probe = ad5686_probe, | 414 | .probe = ad5686_probe, |
415 | .remove = __devexit_p(ad5686_remove), | 415 | .remove = ad5686_remove, |
416 | .id_table = ad5686_id, | 416 | .id_table = ad5686_id, |
417 | }; | 417 | }; |
418 | module_spi_driver(ad5686_driver); | 418 | module_spi_driver(ad5686_driver); |