projects
/
platform
/
kernel
/
linux-rpi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ARM: imx: add missing of_node_put()
[platform/kernel/linux-rpi.git]
/
arch
/
arm
/
mach-imx
/
cpu-imx27.c
diff --git
a/arch/arm/mach-imx/cpu-imx27.c
b/arch/arm/mach-imx/cpu-imx27.c
index
bf70e13
..
1d28939
100644
(file)
--- a/
arch/arm/mach-imx/cpu-imx27.c
+++ b/
arch/arm/mach-imx/cpu-imx27.c
@@
-28,6
+28,7
@@
static int mx27_read_cpu_rev(void)
np = of_find_compatible_node(NULL, NULL, "fsl,imx27-ccm");
ccm_base = of_iomap(np, 0);
+ of_node_put(np);
BUG_ON(!ccm_base);
/*
* now we have access to the IO registers. As we need