mfd: qcom_rpm: Add missing of_node_put after calling of_parse_phandle
authorPeter Chen <peter.chen@nxp.com>
Fri, 15 Jul 2016 09:38:46 +0000 (17:38 +0800)
committerLee Jones <lee.jones@linaro.org>
Tue, 4 Oct 2016 14:48:01 +0000 (15:48 +0100)
commit349290fc9e761aaef6d6882721189f668ec5ff49
treed0bc0775db570a6519e57c0aee959d15a73f911d
parentb304746c2a71fb0c001b5db93ea677d32f95b95f
mfd: qcom_rpm: 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.

Signed-off-by: Peter Chen <peter.chen@nxp.com>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/qcom_rpm.c