summaryrefslogtreecommitdiff
path: root/drivers/cpufreq/powernv-cpufreq.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2015-07-27 23:11:50 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2015-07-28 17:24:12 +0200
commita34e63b14486e98cf78c99bf8ef141de7508dbc2 (patch)
treea802350e4d8852deecb7aafceb059f7d1f5ecf7f /drivers/cpufreq/powernv-cpufreq.c
parent4d1f3a5bcb489cc6f7cbc128e0c292fed7868d32 (diff)
downloadlinux-next-a34e63b14486e98cf78c99bf8ef141de7508dbc2.tar.gz
cpufreq: Pass CPU number to cpufreq_policy_alloc()
Change cpufreq_policy_alloc() to take a CPU number instead of a CPU device pointer as its argument, as it is the only function called by cpufreq_add_dev() taking a device pointer argument at this point. That will allow us to split the CPU online part from cpufreq_add_dev() more cleanly going forward. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'drivers/cpufreq/powernv-cpufreq.c')
0 files changed, 0 insertions, 0 deletions