]> git.baikalelectronics.ru Git - kernel.git/commit
cpufreq: powernv: add of_node_put()
authorYangtao Li <tiny.windzz@gmail.com>
Tue, 20 Nov 2018 16:05:30 +0000 (11:05 -0500)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 29 Nov 2018 21:33:32 +0000 (22:33 +0100)
commita782010c69ce394e4243b2d937c6a9c79e918feb
tree1886984b0a83f39c528938872ed750fbc940c62a
parentd430d9fe643d64901ec99aec29774e11b15b1134
cpufreq: powernv: add of_node_put()

The of_find_node_by_path() returns a node pointer with refcount
incremented,but there is the lack of use of the of_node_put() when
done.Add the missing of_node_put() to release the refcount.

Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/powernv-cpufreq.c