summaryrefslogtreecommitdiffstats
path: root/drivers/power/supply/wm97xx_battery.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/power/supply/wm97xx_battery.c')
-rw-r--r--drivers/power/supply/wm97xx_battery.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/supply/wm97xx_battery.c b/drivers/power/supply/wm97xx_battery.c
index 1cc38d1437d9..b3b0c37a9dd2 100644
--- a/drivers/power/supply/wm97xx_battery.c
+++ b/drivers/power/supply/wm97xx_battery.c
@@ -265,7 +265,7 @@ static struct platform_driver wm97xx_bat_driver = {
#endif
},
.probe = wm97xx_bat_probe,
- .remove_new = wm97xx_bat_remove,
+ .remove = wm97xx_bat_remove,
};
module_platform_driver(wm97xx_bat_driver);