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)
commitabe511ac85de60f6d6ce1272b91c079d73bf8517
tree723e206ba90e190aaabfe4aa3e53be0e06ebb6de
parent272b98c6455f00884f0350f775c5342358ebb73f
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