aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iio/dac/ad5446.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/dac/ad5446.c')
-rw-r--r--drivers/iio/dac/ad5446.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/drivers/iio/dac/ad5446.c b/drivers/iio/dac/ad5446.c
index 3310cbbd41e7..29f653dab2f7 100644
--- a/drivers/iio/dac/ad5446.c
+++ b/drivers/iio/dac/ad5446.c
@@ -212,8 +212,8 @@ static const struct iio_info ad5446_info = {
212 .driver_module = THIS_MODULE, 212 .driver_module = THIS_MODULE,
213}; 213};
214 214
215static int __devinit ad5446_probe(struct device *dev, const char *name, 215static int ad5446_probe(struct device *dev, const char *name,
216 const struct ad5446_chip_info *chip_info) 216 const struct ad5446_chip_info *chip_info)
217{ 217{
218 struct ad5446_state *st; 218 struct ad5446_state *st;
219 struct iio_dev *indio_dev; 219 struct iio_dev *indio_dev;
@@ -461,7 +461,7 @@ static const struct spi_device_id ad5446_spi_ids[] = {
461}; 461};
462MODULE_DEVICE_TABLE(spi, ad5446_spi_ids); 462MODULE_DEVICE_TABLE(spi, ad5446_spi_ids);
463 463
464static int __devinit ad5446_spi_probe(struct spi_device *spi) 464static int ad5446_spi_probe(struct spi_device *spi)
465{ 465{
466 const struct spi_device_id *id = spi_get_device_id(spi); 466 const struct spi_device_id *id = spi_get_device_id(spi);
467 467
@@ -469,7 +469,7 @@ static int __devinit ad5446_spi_probe(struct spi_device *spi)
469 &ad5446_spi_chip_info[id->driver_data]); 469 &ad5446_spi_chip_info[id->driver_data]);
470} 470}
471 471
472static int __devexit ad5446_spi_remove(struct spi_device *spi) 472static int ad5446_spi_remove(struct spi_device *spi)
473{ 473{
474 return ad5446_remove(&spi->dev); 474 return ad5446_remove(&spi->dev);
475} 475}
@@ -480,7 +480,7 @@ static struct spi_driver ad5446_spi_driver = {
480 .owner = THIS_MODULE, 480 .owner = THIS_MODULE,
481 }, 481 },
482 .probe = ad5446_spi_probe, 482 .probe = ad5446_spi_probe,
483 .remove = __devexit_p(ad5446_spi_remove), 483 .remove = ad5446_spi_remove,
484 .id_table = ad5446_spi_ids, 484 .id_table = ad5446_spi_ids,
485}; 485};
486 486
@@ -539,14 +539,14 @@ static const struct ad5446_chip_info ad5446_i2c_chip_info[] = {
539 }, 539 },
540}; 540};
541 541
542static int __devinit ad5446_i2c_probe(struct i2c_client *i2c, 542static int ad5446_i2c_probe(struct i2c_client *i2c,
543 const struct i2c_device_id *id) 543 const struct i2c_device_id *id)
544{ 544{
545 return ad5446_probe(&i2c->dev, id->name, 545 return ad5446_probe(&i2c->dev, id->name,
546 &ad5446_i2c_chip_info[id->driver_data]); 546 &ad5446_i2c_chip_info[id->driver_data]);
547} 547}
548 548
549static int __devexit ad5446_i2c_remove(struct i2c_client *i2c) 549static int ad5446_i2c_remove(struct i2c_client *i2c)
550{ 550{
551 return ad5446_remove(&i2c->dev); 551 return ad5446_remove(&i2c->dev);
552} 552}
@@ -568,7 +568,7 @@ static struct i2c_driver ad5446_i2c_driver = {
568 .owner = THIS_MODULE, 568 .owner = THIS_MODULE,
569 }, 569 },
570 .probe = ad5446_i2c_probe, 570 .probe = ad5446_i2c_probe,
571 .remove = __devexit_p(ad5446_i2c_remove), 571 .remove = ad5446_i2c_remove,
572 .id_table = ad5446_i2c_ids, 572 .id_table = ad5446_i2c_ids,
573}; 573};
574 574