ARM: mvebu: add missing of_node_put() call in coherency.c
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 27 Oct 2014 15:32:35 +0000 (16:32 +0100)
committerJason Cooper <jason@lakedaemon.net>
Fri, 7 Nov 2014 02:56:36 +0000 (02:56 +0000)
commit2eb04ae010a8fb165ba7aa56e9aa8e7980887dee
treea40f6927c0dd00451275fc3aace9fe8bb468734b
parent9ece8839b1277fb9128ff6833411614ab6c88d68
ARM: mvebu: add missing of_node_put() call in coherency.c

There is a missing of_node_put() to decrement the device_node
reference counter after a of_find_matching_node() in coherency_init().

Fixes: 501f928e0097 ("ARM: mvebu: add a coherency_available() call")
Cc: <stable@vger.kernel.org> # v3.16+
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Link: https://lkml.kernel.org/r/1414423955-5933-4-git-send-email-thomas.petazzoni@free-electrons.com
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
arch/arm/mach-mvebu/coherency.c