aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iio/adc/ti_am335x_adc.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-12-21 16:21:43 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-01-03 18:57:03 -0500
commitfc52692c49969ec72595766929b9f54ac402da34 (patch)
tree37575c3db7fdeb7bfcd93e10cd4ccef01af5d3f0 /drivers/iio/adc/ti_am335x_adc.c
parentfe31edc8a3b6081f3580c9ae4c5c61103f3412a5 (diff)
Drivers: iio: remove __dev* attributes.
CONFIG_HOTPLUG is going away as an option. As a result, the __dev* markings need to be removed. This change removes the use of __devinit, __devexit_p, and __devexit from these drivers. Based on patches originally written by Bill Pemberton, but redone by me in order to handle some of the coding style issues better, by hand. Cc: Bill Pemberton <wfp5p@virginia.edu> Cc: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/iio/adc/ti_am335x_adc.c')
-rw-r--r--drivers/iio/adc/ti_am335x_adc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/iio/adc/ti_am335x_adc.c b/drivers/iio/adc/ti_am335x_adc.c
index 02a43c87a8a3..cd030e100c39 100644
--- a/drivers/iio/adc/ti_am335x_adc.c
+++ b/drivers/iio/adc/ti_am335x_adc.c
@@ -136,7 +136,7 @@ static const struct iio_info tiadc_info = {
136 .read_raw = &tiadc_read_raw, 136 .read_raw = &tiadc_read_raw,
137}; 137};
138 138
139static int __devinit tiadc_probe(struct platform_device *pdev) 139static int tiadc_probe(struct platform_device *pdev)
140{ 140{
141 struct iio_dev *indio_dev; 141 struct iio_dev *indio_dev;
142 struct tiadc_device *adc_dev; 142 struct tiadc_device *adc_dev;
@@ -188,7 +188,7 @@ err_ret:
188 return err; 188 return err;
189} 189}
190 190
191static int __devexit tiadc_remove(struct platform_device *pdev) 191static int tiadc_remove(struct platform_device *pdev)
192{ 192{
193 struct iio_dev *indio_dev = platform_get_drvdata(pdev); 193 struct iio_dev *indio_dev = platform_get_drvdata(pdev);
194 194
@@ -250,7 +250,7 @@ static struct platform_driver tiadc_driver = {
250 .pm = TIADC_PM_OPS, 250 .pm = TIADC_PM_OPS,
251 }, 251 },
252 .probe = tiadc_probe, 252 .probe = tiadc_probe,
253 .remove = __devexit_p(tiadc_remove), 253 .remove = tiadc_remove,
254}; 254};
255 255
256module_platform_driver(tiadc_driver); 256module_platform_driver(tiadc_driver);