diff options
author | Dominik Brodowski <linux@dominikbrodowski.net> | 2008-10-15 18:11:04 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-10-15 19:42:47 -0400 |
commit | 459fc208abd1b365fa013c17d433dfb5b4bc1e3a (patch) | |
tree | 70e4536d4978550c1649f6353bbc84ed616c5bfb /arch/avr32 | |
parent | 04ab591808565f968d4406f6435090ad671ebdab (diff) |
cpufreq: remove policy->governor setting in drivers initialization
As policy->governor is already set to CPUFREQ_DEFAULT_GOVERNOR in the
(always built-in) cpufreq core, we do not need to set it in the drivers.
This fixes the sparc64 allmodconfig build failure.
Also, remove a totally useles setting of ->policy in cpufreq-pxa3xx.c.
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/avr32')
-rw-r--r-- | arch/avr32/mach-at32ap/cpufreq.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/avr32/mach-at32ap/cpufreq.c b/arch/avr32/mach-at32ap/cpufreq.c index 5dd8d25428bf..d84efe4984ab 100644 --- a/arch/avr32/mach-at32ap/cpufreq.c +++ b/arch/avr32/mach-at32ap/cpufreq.c | |||
@@ -87,7 +87,6 @@ static int __init at32_cpufreq_driver_init(struct cpufreq_policy *policy) | |||
87 | policy->cur = at32_get_speed(0); | 87 | policy->cur = at32_get_speed(0); |
88 | policy->min = policy->cpuinfo.min_freq; | 88 | policy->min = policy->cpuinfo.min_freq; |
89 | policy->max = policy->cpuinfo.max_freq; | 89 | policy->max = policy->cpuinfo.max_freq; |
90 | policy->governor = CPUFREQ_DEFAULT_GOVERNOR; | ||
91 | 90 | ||
92 | printk("cpufreq: AT32AP CPU frequency driver\n"); | 91 | printk("cpufreq: AT32AP CPU frequency driver\n"); |
93 | 92 | ||