summaryrefslogtreecommitdiff
path: root/drivers/cpufreq/acpi-cpufreq.c
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2014-07-17 09:18:28 +0400
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2014-07-21 15:43:20 +0400
commit1bfb425b3b6bf30f5d4b851049b2057dce860bfd (patch)
treea57edc2f3260b3312558eef90c2530b3d9639930 /drivers/cpufreq/acpi-cpufreq.c
parent41dfd908fc09e0e57f8f44fdcf543348cd5f249c (diff)
downloadlinux-1bfb425b3b6bf30f5d4b851049b2057dce860bfd.tar.xz
cpufreq: move policy kobj to update_policy_cpu()
We are calling kobject_move() from two separate places currently and both these places share another routine update_policy_cpu() which is handling everything around updating policy->cpu. Moving ownership of policy->kobj also lies under the role of update_policy_cpu() routine and must be handled from there. So, Lets move kobject_move() to update_policy_cpu() and get rid of cpufreq_nominate_new_policy_cpu() as it doesn't have anything significant left. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpufreq/acpi-cpufreq.c')
0 files changed, 0 insertions, 0 deletions