aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/power/ds2760_battery.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/power/ds2760_battery.c b/drivers/power/ds2760_battery.c
index 4d3b27228a2e..b3c01c16a164 100644
--- a/drivers/power/ds2760_battery.c
+++ b/drivers/power/ds2760_battery.c
@@ -586,6 +586,7 @@ static int ds2760_battery_remove(struct platform_device *pdev)
586 &di->set_charged_work); 586 &di->set_charged_work);
587 destroy_workqueue(di->monitor_wqueue); 587 destroy_workqueue(di->monitor_wqueue);
588 power_supply_unregister(&di->bat); 588 power_supply_unregister(&di->bat);
589 kfree(di);
589 590
590 return 0; 591 return 0;
591} 592}