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:
a01bce6
)
jz4740-battery: Add missing kfree(jz_battery) in jz_battery_remove()
author
Axel Lin
<axel.lin@gmail.com>
Mon, 27 Sep 2010 07:08:31 +0000
(15:08 +0800)
committer
Anton Vorontsov
<cbouatmailru@gmail.com>
Tue, 28 Sep 2010 11:52:23 +0000
(15:52 +0400)
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-By: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
drivers/power/jz4740-battery.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/power/jz4740-battery.c
b/drivers/power/jz4740-battery.c
index 20c4b952e9bd1f6cbd75887b79f81b226a36a436..a8108a73593e49e19b64ce29e72c45c8b3c9d879 100644
(file)
--- a/
drivers/power/jz4740-battery.c
+++ b/
drivers/power/jz4740-battery.c
@@
-383,6
+383,7
@@
static int __devexit jz_battery_remove(struct platform_device *pdev)
iounmap(jz_battery->base);
release_mem_region(jz_battery->mem->start, resource_size(jz_battery->mem));
+ kfree(jz_battery);
return 0;
}