cpufreq: cpu0: Make allocate_resources() work for any CPU
authorViresh Kumar <viresh.kumar@linaro.org>
Thu, 28 Aug 2014 05:52:30 +0000 (11:22 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 8 Sep 2014 23:44:41 +0000 (01:44 +0200)
commit95b6105835293a910484c5bcdd1599b8588959e9
tree0f91f300fa4851398a26ffe80e9150257bfce4ce
parent2d2c5e0e72546c1b4375ff5820ca8016c7123cbb
cpufreq: cpu0: Make allocate_resources() work for any CPU

Currently allocate_resources() supports only CPU0 and it would need to allocate
resources for any CPU going forward.

Add another argument to it, i.e. cpu, and update code accordingly.

Tested-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/cpufreq-cpu0.c