cpufreq: pmac64: add of_node_put()
authorYangtao Li <tiny.windzz@gmail.com>
Fri, 23 Nov 2018 13:33:40 +0000 (08:33 -0500)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 29 Nov 2018 21:35:03 +0000 (22:35 +0100)
commit0dc0eb78155bcc997932b7f19151ae3dd2748096
tree5f39bf54a5d89d6865c14e5a2e9283fb683d353e
parent3be466d681a92300908c51888f75cf298e040558
cpufreq: pmac64: add of_node_put()

of_find_node_by_path() acquires a reference to the node
returned by it and that reference needs to be dropped by its caller.
g5_neo2_cpufreq_init() doesn't do that, so fix it.

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/pmac64-cpufreq.c