hwtracing: coresight: of_coresight: add missing of_node_put after calling of_parse_ph...
authorPeter Chen <peter.chen@nxp.com>
Thu, 25 Aug 2016 21:19:04 +0000 (15:19 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 31 Aug 2016 11:05:43 +0000 (13:05 +0200)
commit7f73b0b9faa11446f73dba02811f928a230773c5
tree92c59c5784d95b91f12b4a96a4514bc462ea1c7e
parent2a18d7267a566b6be623893b5b5147ae5125d2ca
hwtracing: coresight: of_coresight: add missing of_node_put after calling of_parse_phandle

of_node_put needs to be called when the device node which is got
from of_parse_phandle has finished using.

Cc: linux-arm-kernel@lists.infradead.org
Cc: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Peter Chen <peter.chen@nxp.com>
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hwtracing/coresight/of_coresight.c