diff options
Diffstat (limited to 'drivers/iio/adc/lp8788_adc.c')
-rw-r--r-- | drivers/iio/adc/lp8788_adc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/iio/adc/lp8788_adc.c b/drivers/iio/adc/lp8788_adc.c index a93aaf0bb841..72955e45e9e0 100644 --- a/drivers/iio/adc/lp8788_adc.c +++ b/drivers/iio/adc/lp8788_adc.c | |||
@@ -193,7 +193,7 @@ static inline void lp8788_iio_map_unregister(struct iio_dev *indio_dev, | |||
193 | iio_map_array_unregister(indio_dev, adc->map); | 193 | iio_map_array_unregister(indio_dev, adc->map); |
194 | } | 194 | } |
195 | 195 | ||
196 | static int __devinit lp8788_adc_probe(struct platform_device *pdev) | 196 | static int lp8788_adc_probe(struct platform_device *pdev) |
197 | { | 197 | { |
198 | struct lp8788 *lp = dev_get_drvdata(pdev->dev.parent); | 198 | struct lp8788 *lp = dev_get_drvdata(pdev->dev.parent); |
199 | struct iio_dev *indio_dev; | 199 | struct iio_dev *indio_dev; |
@@ -236,7 +236,7 @@ err_iio_map: | |||
236 | return ret; | 236 | return ret; |
237 | } | 237 | } |
238 | 238 | ||
239 | static int __devexit lp8788_adc_remove(struct platform_device *pdev) | 239 | static int lp8788_adc_remove(struct platform_device *pdev) |
240 | { | 240 | { |
241 | struct iio_dev *indio_dev = platform_get_drvdata(pdev); | 241 | struct iio_dev *indio_dev = platform_get_drvdata(pdev); |
242 | struct lp8788_adc *adc = iio_priv(indio_dev); | 242 | struct lp8788_adc *adc = iio_priv(indio_dev); |
@@ -250,7 +250,7 @@ static int __devexit lp8788_adc_remove(struct platform_device *pdev) | |||
250 | 250 | ||
251 | static struct platform_driver lp8788_adc_driver = { | 251 | static struct platform_driver lp8788_adc_driver = { |
252 | .probe = lp8788_adc_probe, | 252 | .probe = lp8788_adc_probe, |
253 | .remove = __devexit_p(lp8788_adc_remove), | 253 | .remove = lp8788_adc_remove, |
254 | .driver = { | 254 | .driver = { |
255 | .name = LP8788_DEV_ADC, | 255 | .name = LP8788_DEV_ADC, |
256 | .owner = THIS_MODULE, | 256 | .owner = THIS_MODULE, |