aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iio/adc/max1363.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/adc/max1363.c')
-rw-r--r--drivers/iio/adc/max1363.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/iio/adc/max1363.c b/drivers/iio/adc/max1363.c
index 1e84b5b55093..b5669be6f396 100644
--- a/drivers/iio/adc/max1363.c
+++ b/drivers/iio/adc/max1363.c
@@ -1402,7 +1402,7 @@ static int max1363_initial_setup(struct max1363_state *st)
1402 return max1363_set_scan_mode(st); 1402 return max1363_set_scan_mode(st);
1403} 1403}
1404 1404
1405static int __devinit max1363_alloc_scan_masks(struct iio_dev *indio_dev) 1405static int max1363_alloc_scan_masks(struct iio_dev *indio_dev)
1406{ 1406{
1407 struct max1363_state *st = iio_priv(indio_dev); 1407 struct max1363_state *st = iio_priv(indio_dev);
1408 unsigned long *masks; 1408 unsigned long *masks;
@@ -1525,8 +1525,8 @@ static void max1363_buffer_cleanup(struct iio_dev *indio_dev)
1525 iio_kfifo_free(indio_dev->buffer); 1525 iio_kfifo_free(indio_dev->buffer);
1526} 1526}
1527 1527
1528static int __devinit max1363_probe(struct i2c_client *client, 1528static int max1363_probe(struct i2c_client *client,
1529 const struct i2c_device_id *id) 1529 const struct i2c_device_id *id)
1530{ 1530{
1531 int ret; 1531 int ret;
1532 struct max1363_state *st; 1532 struct max1363_state *st;
@@ -1624,7 +1624,7 @@ error_out:
1624 return ret; 1624 return ret;
1625} 1625}
1626 1626
1627static int __devexit max1363_remove(struct i2c_client *client) 1627static int max1363_remove(struct i2c_client *client)
1628{ 1628{
1629 struct iio_dev *indio_dev = i2c_get_clientdata(client); 1629 struct iio_dev *indio_dev = i2c_get_clientdata(client);
1630 struct max1363_state *st = iio_priv(indio_dev); 1630 struct max1363_state *st = iio_priv(indio_dev);
@@ -1690,7 +1690,7 @@ static struct i2c_driver max1363_driver = {
1690 .name = "max1363", 1690 .name = "max1363",
1691 }, 1691 },
1692 .probe = max1363_probe, 1692 .probe = max1363_probe,
1693 .remove = __devexit_p(max1363_remove), 1693 .remove = max1363_remove,
1694 .id_table = max1363_id, 1694 .id_table = max1363_id,
1695}; 1695};
1696module_i2c_driver(max1363_driver); 1696module_i2c_driver(max1363_driver);