aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mfd/adp5520.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mfd/adp5520.c')
-rw-r--r--drivers/mfd/adp5520.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/mfd/adp5520.c b/drivers/mfd/adp5520.c
index ea8b9475731d..210dd038bb5a 100644
--- a/drivers/mfd/adp5520.c
+++ b/drivers/mfd/adp5520.c
@@ -203,7 +203,7 @@ static int adp5520_remove_subdevs(struct adp5520_chip *chip)
203 return device_for_each_child(chip->dev, NULL, __remove_subdev); 203 return device_for_each_child(chip->dev, NULL, __remove_subdev);
204} 204}
205 205
206static int __devinit adp5520_probe(struct i2c_client *client, 206static int adp5520_probe(struct i2c_client *client,
207 const struct i2c_device_id *id) 207 const struct i2c_device_id *id)
208{ 208{
209 struct adp5520_platform_data *pdata = client->dev.platform_data; 209 struct adp5520_platform_data *pdata = client->dev.platform_data;
@@ -307,7 +307,7 @@ out_free_chip:
307 return ret; 307 return ret;
308} 308}
309 309
310static int __devexit adp5520_remove(struct i2c_client *client) 310static int adp5520_remove(struct i2c_client *client)
311{ 311{
312 struct adp5520_chip *chip = dev_get_drvdata(&client->dev); 312 struct adp5520_chip *chip = dev_get_drvdata(&client->dev);
313 313
@@ -356,7 +356,7 @@ static struct i2c_driver adp5520_driver = {
356 .pm = &adp5520_pm, 356 .pm = &adp5520_pm,
357 }, 357 },
358 .probe = adp5520_probe, 358 .probe = adp5520_probe,
359 .remove = __devexit_p(adp5520_remove), 359 .remove = adp5520_remove,
360 .id_table = adp5520_id, 360 .id_table = adp5520_id,
361}; 361};
362 362