bus: vexpress-config: add missing of_node_put after calling of_parse_phandle
authorPeter Chen <peter.chen@nxp.com>
Fri, 1 Jul 2016 09:41:59 +0000 (17:41 +0800)
committerSudeep Holla <sudeep.holla@arm.com>
Mon, 8 Aug 2016 13:31:09 +0000 (14:31 +0100)
commit557e37c05f28bad113d65d584699e8d8f29f70a3
treea172409cdfef855f06e14a405908f4654e5cb399
parent29b4817d4018df78086157ea3a55c1d9424a7cfc
bus: vexpress-config: 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: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Acked-by: Liviu Dudau <liviu.dudau@arm.com>
Signed-off-by: Peter Chen <peter.chen@nxp.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
drivers/bus/vexpress-config.c