cpufreq: Don't check cpu_online(policy->cpu)
authorViresh Kumar <viresh.kumar@linaro.org>
Mon, 4 Feb 2013 11:38:51 +0000 (11:38 +0000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sat, 9 Feb 2013 00:18:34 +0000 (01:18 +0100)
commit3361b7b173341fdaa85153e1b322099949c9f8c8
treee40cad5ff71df10ff9ce2cb629ae461f2defd14e
parent1dd538f072f0b7ba327613253d41ebb329c6d490
cpufreq: Don't check cpu_online(policy->cpu)

policy->cpu or cpus in policy->cpus can't be offline anymore. And so we don't
need to check if they are online or not.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/cpufreq.c
drivers/cpufreq/cpufreq_governor.c
drivers/cpufreq/cpufreq_userspace.c
drivers/cpufreq/freq_table.c