summaryrefslogtreecommitdiff
path: root/drivers/power/max8997_charger.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/power/max8997_charger.c')
-rw-r--r--drivers/power/max8997_charger.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/max8997_charger.c b/drivers/power/max8997_charger.c
index 6e88c5d026b9..19cfd2d12901 100644
--- a/drivers/power/max8997_charger.c
+++ b/drivers/power/max8997_charger.c
@@ -187,7 +187,7 @@ static struct platform_driver max8997_battery_driver = {
.owner = THIS_MODULE,
},
.probe = max8997_battery_probe,
- .remove = __devexit_p(max8997_battery_remove),
+ .remove = max8997_battery_remove,
.id_table = max8997_battery_id,
};