diff options
-rw-r--r-- | drivers/power/ds2780_battery.c | 2 | ||||
-rw-r--r-- | drivers/power/z2_battery.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/power/ds2780_battery.c b/drivers/power/ds2780_battery.c index 1fefe82e12e3..ed25ef5887d4 100644 --- a/drivers/power/ds2780_battery.c +++ b/drivers/power/ds2780_battery.c | |||
@@ -832,7 +832,7 @@ static struct platform_driver ds2780_battery_driver = { | |||
832 | .name = "ds2780-battery", | 832 | .name = "ds2780-battery", |
833 | }, | 833 | }, |
834 | .probe = ds2780_battery_probe, | 834 | .probe = ds2780_battery_probe, |
835 | .remove = ds2780_battery_remove, | 835 | .remove = __devexit_p(ds2780_battery_remove), |
836 | }; | 836 | }; |
837 | 837 | ||
838 | static int __init ds2780_battery_init(void) | 838 | static int __init ds2780_battery_init(void) |
diff --git a/drivers/power/z2_battery.c b/drivers/power/z2_battery.c index d119c38b3ff6..ae38c44ccd4e 100644 --- a/drivers/power/z2_battery.c +++ b/drivers/power/z2_battery.c | |||
@@ -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 = z2_batt_remove, | 316 | .remove = __devexit_p(z2_batt_remove), |
317 | .id_table = z2_batt_id, | 317 | .id_table = z2_batt_id, |
318 | }; | 318 | }; |
319 | 319 | ||