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:
5f29895
)
wm831x_power: Add missing kfree(wm831x_power) in wm831x_power_remove()
author
Axel Lin
<axel.lin@gmail.com>
Mon, 27 Sep 2010 07:10:11 +0000
(15:10 +0800)
committer
Anton Vorontsov
<cbouatmailru@gmail.com>
Tue, 28 Sep 2010 11:52:34 +0000
(15:52 +0400)
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
drivers/power/wm831x_power.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/power/wm831x_power.c
b/drivers/power/wm831x_power.c
index a57a94150cb873e28ebc5c404f63020b7f18c3e6..ddf8cf5f3204032f835892487ba085e058f49c82 100644
(file)
--- a/
drivers/power/wm831x_power.c
+++ b/
drivers/power/wm831x_power.c
@@
-611,6
+611,7
@@
static __devexit int wm831x_power_remove(struct platform_device *pdev)
power_supply_unregister(&wm831x_power->battery);
power_supply_unregister(&wm831x_power->wall);
power_supply_unregister(&wm831x_power->usb);
+ kfree(wm831x_power);
return 0;
}