ARM: shmobile: ape6evm: Remove duplicate CPUFreq bits
authorMagnus Damm <damm+renesas@opensource.se>
Wed, 20 Aug 2014 13:10:15 +0000 (22:10 +0900)
committerSimon Horman <horms+renesas@verge.net.au>
Fri, 5 Dec 2014 00:59:26 +0000 (09:59 +0900)
The CPUFreq platform device is already registered by
shmobile_init_late(), so get rid of ape6evm specific bits.

Signed-off-by: Magnus Damm <damm+renesas@opensource.se>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
(cherry picked from commit 664b4c172209f076866419a5a4162e4fc9631807)
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/board-ape6evm-reference.c

index 9e99b15..a6503d8 100644 (file)
@@ -50,7 +50,6 @@ static void __init ape6evm_add_standard_devices(void)
 
        r8a73a4_add_dt_devices();
        of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
-       platform_device_register_simple("cpufreq-cpu0", -1, NULL, 0);
 }
 
 static const char *ape6evm_boards_compat_dt[] __initdata = {