]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: mvebu: add missing of_node_put() to fix reference leak
authorJisheng Zhang <jszhang@marvell.com>
Tue, 27 Aug 2013 04:41:14 +0000 (12:41 +0800)
committerJason Cooper <jason@lakedaemon.net>
Wed, 18 Sep 2013 16:40:53 +0000 (16:40 +0000)
commit9bb14c13fb1cf8e34d1945722f642c9f5950897a
tree723e206ba90e190aaabfe4aa3e53be0e06ebb6de
parent8d77f31568220a8293f2e30959e7772efe92c198
ARM: mvebu: add missing of_node_put() to fix reference leak

Add of_node_put to properly decrement the refcount when we are
done using a given node.

Signed-off-by: Jisheng Zhang <jszhang@marvell.com>
Reviewed-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Conflicts:
arch/arm/mach-mvebu/armada-370-xp.c
arch/arm/mach-mvebu/platsmp.c
arch/arm/mach-mvebu/coherency.c
arch/arm/mach-mvebu/pmsu.c
arch/arm/mach-mvebu/system-controller.c