aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iio/adc/at91_adc.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/adc/at91_adc.c')
-rw-r--r--drivers/iio/adc/at91_adc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/iio/adc/at91_adc.c b/drivers/iio/adc/at91_adc.c
index 03b85940f4ba..04b013561f0f 100644
--- a/drivers/iio/adc/at91_adc.c
+++ b/drivers/iio/adc/at91_adc.c
@@ -514,7 +514,7 @@ static const struct iio_info at91_adc_info = {
514 .read_raw = &at91_adc_read_raw, 514 .read_raw = &at91_adc_read_raw,
515}; 515};
516 516
517static int __devinit at91_adc_probe(struct platform_device *pdev) 517static int at91_adc_probe(struct platform_device *pdev)
518{ 518{
519 unsigned int prsc, mstrclk, ticks, adc_clk; 519 unsigned int prsc, mstrclk, ticks, adc_clk;
520 int ret; 520 int ret;
@@ -678,7 +678,7 @@ error_ret:
678 return ret; 678 return ret;
679} 679}
680 680
681static int __devexit at91_adc_remove(struct platform_device *pdev) 681static int at91_adc_remove(struct platform_device *pdev)
682{ 682{
683 struct iio_dev *idev = platform_get_drvdata(pdev); 683 struct iio_dev *idev = platform_get_drvdata(pdev);
684 struct at91_adc_state *st = iio_priv(idev); 684 struct at91_adc_state *st = iio_priv(idev);
@@ -702,7 +702,7 @@ MODULE_DEVICE_TABLE(of, at91_adc_dt_ids);
702 702
703static struct platform_driver at91_adc_driver = { 703static struct platform_driver at91_adc_driver = {
704 .probe = at91_adc_probe, 704 .probe = at91_adc_probe,
705 .remove = __devexit_p(at91_adc_remove), 705 .remove = at91_adc_remove,
706 .driver = { 706 .driver = {
707 .name = "at91_adc", 707 .name = "at91_adc",
708 .of_match_table = of_match_ptr(at91_adc_dt_ids), 708 .of_match_table = of_match_ptr(at91_adc_dt_ids),