aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/power/z2_battery.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/power/z2_battery.c')
-rw-r--r--drivers/power/z2_battery.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/power/z2_battery.c b/drivers/power/z2_battery.c
index 5757d0d6782f..814d2e31f0c9 100644
--- a/drivers/power/z2_battery.c
+++ b/drivers/power/z2_battery.c
@@ -180,7 +180,7 @@ static int z2_batt_ps_init(struct z2_charger *charger, int props)
180 return 0; 180 return 0;
181} 181}
182 182
183static int __devinit z2_batt_probe(struct i2c_client *client, 183static int z2_batt_probe(struct i2c_client *client,
184 const struct i2c_device_id *id) 184 const struct i2c_device_id *id)
185{ 185{
186 int ret = 0; 186 int ret = 0;
@@ -251,7 +251,7 @@ err:
251 return ret; 251 return ret;
252} 252}
253 253
254static int __devexit z2_batt_remove(struct i2c_client *client) 254static int z2_batt_remove(struct i2c_client *client)
255{ 255{
256 struct z2_charger *charger = i2c_get_clientdata(client); 256 struct z2_charger *charger = i2c_get_clientdata(client);
257 struct z2_battery_info *info = charger->info; 257 struct z2_battery_info *info = charger->info;
@@ -313,7 +313,7 @@ static struct i2c_driver z2_batt_driver = {
313 .pm = Z2_BATTERY_PM_OPS 313 .pm = Z2_BATTERY_PM_OPS
314 }, 314 },
315 .probe = z2_batt_probe, 315 .probe = z2_batt_probe,
316 .remove = __devexit_p(z2_batt_remove), 316 .remove = z2_batt_remove,
317 .id_table = z2_batt_id, 317 .id_table = z2_batt_id,
318}; 318};
319module_i2c_driver(z2_batt_driver); 319module_i2c_driver(z2_batt_driver);