projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ARM: mvebu: add missing of_node_put() to fix reference leak
[firefly-linux-kernel-4.4.55.git]
/
arch
/
arm
/
mach-mvebu
/
system-controller.c
diff --git
a/arch/arm/mach-mvebu/system-controller.c
b/arch/arm/mach-mvebu/system-controller.c
index f875124ff4f9e558ff9be36c08d6bbc9ab3fdf13..5175083cdb34650802288789c55a82aee8c20d08 100644
(file)
--- a/
arch/arm/mach-mvebu/system-controller.c
+++ b/
arch/arm/mach-mvebu/system-controller.c
@@
-98,6
+98,7
@@
static int __init mvebu_system_controller_init(void)
BUG_ON(!match);
system_controller_base = of_iomap(np, 0);
mvebu_sc = (struct mvebu_system_controller *)match->data;
+ of_node_put(np);
}
return 0;