projects
/
profile
/
ivi
/
kernel-x86-ivi.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
|
history
diff --git
a/drivers/power/ds2760_battery.c
b/drivers/power/ds2760_battery.c
index
4d3b272
..
b3c01c1
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;
}