aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/regulator/ad5398.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/regulator/ad5398.c')
-rw-r--r--drivers/regulator/ad5398.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/regulator/ad5398.c b/drivers/regulator/ad5398.c
index f123f7e3b752..6b981b5faa70 100644
--- a/drivers/regulator/ad5398.c
+++ b/drivers/regulator/ad5398.c
@@ -211,7 +211,7 @@ static const struct i2c_device_id ad5398_id[] = {
211}; 211};
212MODULE_DEVICE_TABLE(i2c, ad5398_id); 212MODULE_DEVICE_TABLE(i2c, ad5398_id);
213 213
214static int __devinit ad5398_probe(struct i2c_client *client, 214static int ad5398_probe(struct i2c_client *client,
215 const struct i2c_device_id *id) 215 const struct i2c_device_id *id)
216{ 216{
217 struct regulator_init_data *init_data = client->dev.platform_data; 217 struct regulator_init_data *init_data = client->dev.platform_data;
@@ -256,7 +256,7 @@ err:
256 return ret; 256 return ret;
257} 257}
258 258
259static int __devexit ad5398_remove(struct i2c_client *client) 259static int ad5398_remove(struct i2c_client *client)
260{ 260{
261 struct ad5398_chip_info *chip = i2c_get_clientdata(client); 261 struct ad5398_chip_info *chip = i2c_get_clientdata(client);
262 262
@@ -266,7 +266,7 @@ static int __devexit ad5398_remove(struct i2c_client *client)
266 266
267static struct i2c_driver ad5398_driver = { 267static struct i2c_driver ad5398_driver = {
268 .probe = ad5398_probe, 268 .probe = ad5398_probe,
269 .remove = __devexit_p(ad5398_remove), 269 .remove = ad5398_remove,
270 .driver = { 270 .driver = {
271 .name = "ad5398", 271 .name = "ad5398",
272 }, 272 },