git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs-2.6
[pandora-kernel.git]
/
drivers
/
power
/
jz4740-battery.c
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;
}