]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
commit3be466d681a92300908c51888f75cf298e040558
tree1886984b0a83f39c528938872ed750fbc940c62a
parent60935c17e26ac2cfc4095bed02a6b4135c3e6d4a
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