]> err.no Git - linux-2.6/commit
[CPUFREQ] ondemand: trivial clean-ups
authorDave Jones <davej@redhat.com>
Wed, 1 Jun 2005 02:03:44 +0000 (19:03 -0700)
committerDave Jones <davej@redhat.com>
Wed, 1 Jun 2005 02:03:44 +0000 (19:03 -0700)
commit6fe711658fcf92d39d84c0b7e6332ed6625dc520
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