PM / devfreq: exynos-bus: add missing of_node_put after calling of_parse_phandle
authorPeter Chen <peter.chen@nxp.com>
Fri, 1 Jul 2016 09:42:01 +0000 (17:42 +0800)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Wed, 6 Jul 2016 04:11:24 +0000 (13:11 +0900)
commitd8150d14e9bc44ba55c707cc67f4fa66d65cfdef
tree16277539128c21320d65093fbf3e5fc55657e4c6
parent3427c6f0b6f5643543f9b6c55f80bee83c0d5ff3
PM / devfreq: exynos-bus: 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.

[Commit updated to fix an error by MyungJoo]

Cc: Chanwoo Choi <cw00.choi@samsung.com>
Cc: MyungJoo Ham <myungjoo.ham@samsung.com>
Cc: Kyungmin Park <kyungmin.park@samsung.com>
Cc: Kukjin Kim <kgene@kernel.org>
Cc: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Peter Chen <peter.chen@nxp.com>
Acked-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
drivers/devfreq/exynos-bus.c