aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iio/dac/ad5791.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-01-26 00:25:02 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-01-26 00:25:02 -0500
commit8f5f90a872c38b4e78f3cc95e8a25434b98e4db2 (patch)
tree36c50b0c97286ab89c85016f7ab281f8e843c05c /drivers/iio/dac/ad5791.c
parentc0cd2da16b431a2007ea83865f3dd1530c1643a5 (diff)
parent949db153b6466c6f7cad5a427ecea94985927311 (diff)
Merge 3.8-rc5 into staging-next
This resolves a merge issue with a iio driver, and the zram code. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/iio/dac/ad5791.c')
-rw-r--r--drivers/iio/dac/ad5791.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/iio/dac/ad5791.c b/drivers/iio/dac/ad5791.c
index 6efe83e32ac6..6407b5407ddd 100644
--- a/drivers/iio/dac/ad5791.c
+++ b/drivers/iio/dac/ad5791.c
@@ -346,7 +346,7 @@ static const struct iio_info ad5791_info = {
346 .driver_module = THIS_MODULE, 346 .driver_module = THIS_MODULE,
347}; 347};
348 348
349static int __devinit ad5791_probe(struct spi_device *spi) 349static int ad5791_probe(struct spi_device *spi)
350{ 350{
351 struct ad5791_platform_data *pdata = spi->dev.platform_data; 351 struct ad5791_platform_data *pdata = spi->dev.platform_data;
352 struct iio_dev *indio_dev; 352 struct iio_dev *indio_dev;
@@ -448,7 +448,7 @@ error_ret:
448 return ret; 448 return ret;
449} 449}
450 450
451static int __devexit ad5791_remove(struct spi_device *spi) 451static int ad5791_remove(struct spi_device *spi)
452{ 452{
453 struct iio_dev *indio_dev = spi_get_drvdata(spi); 453 struct iio_dev *indio_dev = spi_get_drvdata(spi);
454 struct ad5791_state *st = iio_priv(indio_dev); 454 struct ad5791_state *st = iio_priv(indio_dev);
@@ -484,7 +484,7 @@ static struct spi_driver ad5791_driver = {
484 .owner = THIS_MODULE, 484 .owner = THIS_MODULE,
485 }, 485 },
486 .probe = ad5791_probe, 486 .probe = ad5791_probe,
487 .remove = __devexit_p(ad5791_remove), 487 .remove = ad5791_remove,
488 .id_table = ad5791_id, 488 .id_table = ad5791_id,
489}; 489};
490module_spi_driver(ad5791_driver); 490module_spi_driver(ad5791_driver);