projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7cfbb29
)
ds2760_battery: Add missing kfree(di) in ds2760_battery_remove()
author
Axel Lin
<axel.lin@gmail.com>
Mon, 27 Sep 2010 07:07:12 +0000
(15:07 +0800)
committer
Anton Vorontsov
<cbouatmailru@gmail.com>
Tue, 28 Sep 2010 11:16:23 +0000
(15:16 +0400)
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
drivers/power/ds2760_battery.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/power/ds2760_battery.c
b/drivers/power/ds2760_battery.c
index 4d3b27228a2e0ea6bd844f9ae9fbb4161059a3eb..b3c01c16a1640773ade9a1d09b813e9356c30c8b 100644
(file)
--- 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)
&di->set_charged_work);
destroy_workqueue(di->monitor_wqueue);
power_supply_unregister(&di->bat);
+ kfree(di);
return 0;
}