[CPUFREQ] ondemand: trivial clean-ups
commit6fe711658fcf92d39d84c0b7e6332ed6625dc520
authorDave Jones <davej@redhat.com>
Wed, 1 Jun 2005 02:03:44 +0000 (31 19:03 -0700)
committerDave Jones <davej@redhat.com>
Wed, 1 Jun 2005 02:03:44 +0000 (31 19:03 -0700)
treee6d4343fcffbd1092005bef9025ffee6d37a2fad
parent8282864a96ef0a7b88ee9e4b357e08504131394d
[CPUFREQ] ondemand: trivial clean-ups

Trivial ondemand governor clean-ups:
- change from sampling_rate_in_HZ() to the official function
usecs_to_jiffies().
- use for_each_online_cpu() to instead of using "if (cpu_online(i))"

Signed-off-by: Eric Piel <eric.piel@tremplin-utc.net>
Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Signed-off-by: Dave Jones <davej@redhat.com>
drivers/cpufreq/cpufreq_ondemand.c