aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iio/dac/mcp4725.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iio/dac/mcp4725.c')
-rw-r--r--drivers/iio/dac/mcp4725.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/iio/dac/mcp4725.c b/drivers/iio/dac/mcp4725.c
index e0e168bd5b45..8f88cc4059a2 100644
--- a/drivers/iio/dac/mcp4725.c
+++ b/drivers/iio/dac/mcp4725.c
@@ -141,8 +141,8 @@ static const struct iio_info mcp4725_info = {
141 .driver_module = THIS_MODULE, 141 .driver_module = THIS_MODULE,
142}; 142};
143 143
144static int __devinit mcp4725_probe(struct i2c_client *client, 144static int mcp4725_probe(struct i2c_client *client,
145 const struct i2c_device_id *id) 145 const struct i2c_device_id *id)
146{ 146{
147 struct mcp4725_data *data; 147 struct mcp4725_data *data;
148 struct iio_dev *indio_dev; 148 struct iio_dev *indio_dev;
@@ -195,7 +195,7 @@ exit:
195 return err; 195 return err;
196} 196}
197 197
198static int __devexit mcp4725_remove(struct i2c_client *client) 198static int mcp4725_remove(struct i2c_client *client)
199{ 199{
200 struct iio_dev *indio_dev = i2c_get_clientdata(client); 200 struct iio_dev *indio_dev = i2c_get_clientdata(client);
201 201
@@ -217,7 +217,7 @@ static struct i2c_driver mcp4725_driver = {
217 .pm = MCP4725_PM_OPS, 217 .pm = MCP4725_PM_OPS,
218 }, 218 },
219 .probe = mcp4725_probe, 219 .probe = mcp4725_probe,
220 .remove = __devexit_p(mcp4725_remove), 220 .remove = mcp4725_remove,
221 .id_table = mcp4725_id, 221 .id_table = mcp4725_id,
222}; 222};
223module_i2c_driver(mcp4725_driver); 223module_i2c_driver(mcp4725_driver);