PM / devfreq: exynos-ppmu: remove unneeded of_node_put()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Fri, 8 Jul 2016 13:44:04 +0000 (13:44 +0000)
committerChanwoo Choi <cw00.choi@samsung.com>
Mon, 4 Sep 2017 05:33:28 +0000 (14:33 +0900)
commit612268a2ebb2ef3163dd515c478d63ab552b3cfa
treeaa3167cd4f24bcb144f45c4f11aa26a92476a647
parent6c4073e50920368399f2843bb355bafcda778148
PM / devfreq: exynos-ppmu: remove unneeded of_node_put()

for_each_child_of_node() performs an of_node_put() on each iteration, so
putting an of_node_put() before a continue results in a double put.

Generated by: scripts/coccinelle/iterators/device_node_continue.cocci

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
drivers/devfreq/event/exynos-ppmu.c