UPSTREAM: PM / devfreq: add missing of_node_put after calling of_parse_phandle
authorPeter Chen <peter.chen@nxp.com>
Fri, 1 Jul 2016 09:42:00 +0000 (17:42 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Wed, 10 Aug 2016 10:33:26 +0000 (18:33 +0800)
commit3e9a85141fbc803704a814fd0e5d6994581c07ed
treea5159f7e4265ed10e09c176722c3128c153b02e7
parentc8076165ac390d4feb5ba49740bddb6517329d11
UPSTREAM: PM / devfreq: 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.

Change-Id: I59404551678a7e56fe51a1996c9e53b6e935dac9
Cc: MyungJoo Ham <myungjoo.ham@samsung.com>
Cc: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Peter Chen <peter.chen@nxp.com>
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
(cherry picked from commit 3427c6f0b6f5643543f9b6c55f80bee83c0d5ff3)
drivers/devfreq/devfreq.c