summaryrefslogtreecommitdiff
path: root/kernel/power
diff options
context:
space:
mode:
authorSudeep Holla <Sudeep.Holla@arm.com>2017-10-12 13:32:23 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2017-10-14 01:49:41 +0300
commit9867999f3a85b52f96ef05fca00cc8128eed01ce (patch)
tree2814b3e2b870950469b7c9f4d7296e07f2782c92 /kernel/power
parent604a7aeb4325b8ecb23df163c89fc12248302a4e (diff)
downloadlinux-9867999f3a85b52f96ef05fca00cc8128eed01ce.tar.xz
PM / OPP: add missing of_node_put() for of_get_cpu_node()
Commit 762792913f8c (PM / OPP: Fix get sharing CPUs when hotplug is used) moved away from using cpu_dev->of_node because of some limitations. However, commit 7467c9d95989 (of: return of_get_cpu_node from of_cpu_device_node_get if CPUs are not registered) added support to fall back to of_get_cpu_node() if called if CPUs are not registered yet. Add the missing of_node_put() for the CPU device nodes. Also go back to using of_cpu_device_node_get() in dev_pm_opp_of_get_sharing_cpus() to avoid scanning the device tree again. Acked-by: Viresh Kumar <vireshk@kernel.org> Fixes: 762792913f8c (PM / OPP: Fix get sharing CPUs when hotplug is used) Signed-off-by: Sudeep Holla <sudeep.holla@arm.com> Reviewed-by: Stephen Boyd <sboyd@codeaurora.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'kernel/power')
0 files changed, 0 insertions, 0 deletions