]> git.karo-electronics.de Git - linux-beck.git/commit
cpufreq: remove policy->governor setting in drivers initialization
authorDominik Brodowski <linux@dominikbrodowski.net>
Wed, 15 Oct 2008 22:11:04 +0000 (00:11 +0200)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 15 Oct 2008 23:42:47 +0000 (16:42 -0700)
commit459fc208abd1b365fa013c17d433dfb5b4bc1e3a
tree70e4536d4978550c1649f6353bbc84ed616c5bfb
parent04ab591808565f968d4406f6435090ad671ebdab
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>
arch/arm/mach-integrator/cpu.c
arch/arm/mach-pxa/cpufreq-pxa2xx.c
arch/arm/mach-pxa/cpufreq-pxa3xx.c
arch/arm/mach-sa1100/cpu-sa1100.c
arch/avr32/mach-at32ap/cpufreq.c
arch/blackfin/mach-common/cpufreq.c
arch/cris/arch-v32/mach-a3/cpufreq.c
arch/cris/arch-v32/mach-fs/cpufreq.c
arch/sparc64/kernel/us3_cpufreq.c