Searched hist:a34e63b14486e98cf78c99bf8ef141de7508dbc2 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/cpufreq/ |
H A D | cpufreq.c | diff a34e63b14486e98cf78c99bf8ef141de7508dbc2 Mon Jul 27 16:11:50 CDT 2015 Rafael J. Wysocki <rafael.j.wysocki@intel.com> 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>
|