aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iio/dac/ad5449.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/dac/ad5449.c')
-rw-r--r--drivers/iio/dac/ad5449.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/iio/dac/ad5449.c b/drivers/iio/dac/ad5449.c
index 0ee6f8eeba8d..c4731b7b577b 100644
--- a/drivers/iio/dac/ad5449.c
+++ b/drivers/iio/dac/ad5449.c
@@ -266,7 +266,7 @@ static const char *ad5449_vref_name(struct ad5449 *st, int n)
266 return "VREFB"; 266 return "VREFB";
267} 267}
268 268
269static int __devinit ad5449_spi_probe(struct spi_device *spi) 269static int ad5449_spi_probe(struct spi_device *spi)
270{ 270{
271 struct ad5449_platform_data *pdata = spi->dev.platform_data; 271 struct ad5449_platform_data *pdata = spi->dev.platform_data;
272 const struct spi_device_id *id = spi_get_device_id(spi); 272 const struct spi_device_id *id = spi_get_device_id(spi);
@@ -333,7 +333,7 @@ error_free:
333 return ret; 333 return ret;
334} 334}
335 335
336static int __devexit ad5449_spi_remove(struct spi_device *spi) 336static int ad5449_spi_remove(struct spi_device *spi)
337{ 337{
338 struct iio_dev *indio_dev = spi_get_drvdata(spi); 338 struct iio_dev *indio_dev = spi_get_drvdata(spi);
339 struct ad5449 *st = iio_priv(indio_dev); 339 struct ad5449 *st = iio_priv(indio_dev);
@@ -366,7 +366,7 @@ static struct spi_driver ad5449_spi_driver = {
366 .owner = THIS_MODULE, 366 .owner = THIS_MODULE,
367 }, 367 },
368 .probe = ad5449_spi_probe, 368 .probe = ad5449_spi_probe,
369 .remove = __devexit_p(ad5449_spi_remove), 369 .remove = ad5449_spi_remove,
370 .id_table = ad5449_spi_ids, 370 .id_table = ad5449_spi_ids,
371}; 371};
372module_spi_driver(ad5449_spi_driver); 372module_spi_driver(ad5449_spi_driver);