projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.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
|
history
diff --git
a/drivers/power/jz4740-battery.c
b/drivers/power/jz4740-battery.c
index
20c4b95
..
a8108a7
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;
}