cpufreq: Don't check if cpu is online/offline for cpufreq callbacks
authorViresh Kumar <viresh.kumar@linaro.org>
Mon, 1 Apr 2013 12:57:46 +0000 (12:57 +0000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 2 Apr 2013 13:26:32 +0000 (15:26 +0200)
commite9f51837c97d199dfa06ef448797c584755837a8
treed142cce9210cc5978eaed5be6d35f2e424e4b1be
parentb43a7ffbf33be7e4d3b10b7714ee663ea2c52fe2
cpufreq: Don't check if cpu is online/offline for cpufreq callbacks

cpufreq layer doesn't call cpufreq driver's callback for any offline
CPU and so checking that isn't useful.

Lets get rid of it.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
arch/mips/kernel/cpufreq/loongson2_cpufreq.c
arch/sh/kernel/cpufreq.c
arch/sparc/kernel/us2e_cpufreq.c
arch/sparc/kernel/us3_cpufreq.c
drivers/cpufreq/p4-clockmod.c
drivers/cpufreq/powernow-k8.c
drivers/cpufreq/speedstep-centrino.c