aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iio/adc/ad7298.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/adc/ad7298.c')
-rw-r--r--drivers/iio/adc/ad7298.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/iio/adc/ad7298.c b/drivers/iio/adc/ad7298.c
index 2364807a5d6c..b34d754994d5 100644
--- a/drivers/iio/adc/ad7298.c
+++ b/drivers/iio/adc/ad7298.c
@@ -292,7 +292,7 @@ static const struct iio_info ad7298_info = {
292 .driver_module = THIS_MODULE, 292 .driver_module = THIS_MODULE,
293}; 293};
294 294
295static int __devinit ad7298_probe(struct spi_device *spi) 295static int ad7298_probe(struct spi_device *spi)
296{ 296{
297 struct ad7298_platform_data *pdata = spi->dev.platform_data; 297 struct ad7298_platform_data *pdata = spi->dev.platform_data;
298 struct ad7298_state *st; 298 struct ad7298_state *st;
@@ -370,7 +370,7 @@ error_free:
370 return ret; 370 return ret;
371} 371}
372 372
373static int __devexit ad7298_remove(struct spi_device *spi) 373static int ad7298_remove(struct spi_device *spi)
374{ 374{
375 struct iio_dev *indio_dev = spi_get_drvdata(spi); 375 struct iio_dev *indio_dev = spi_get_drvdata(spi);
376 struct ad7298_state *st = iio_priv(indio_dev); 376 struct ad7298_state *st = iio_priv(indio_dev);
@@ -398,7 +398,7 @@ static struct spi_driver ad7298_driver = {
398 .owner = THIS_MODULE, 398 .owner = THIS_MODULE,
399 }, 399 },
400 .probe = ad7298_probe, 400 .probe = ad7298_probe,
401 .remove = __devexit_p(ad7298_remove), 401 .remove = ad7298_remove,
402 .id_table = ad7298_id, 402 .id_table = ad7298_id,
403}; 403};
404module_spi_driver(ad7298_driver); 404module_spi_driver(ad7298_driver);