aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-shmobile/setup-r8a73a4.c
diff options
context:
space:
mode:
authorMagnus Damm <damm@opensource.se>2013-07-23 23:53:15 -0400
committerSimon Horman <horms+renesas@verge.net.au>2013-07-24 03:35:30 -0400
commit67fde41ea4251f722b4466597c479fb42fccac2c (patch)
tree3bd8c9de8e2cfd6e8ae43193248c6733e0d3d34e /arch/arm/mach-shmobile/setup-r8a73a4.c
parent5717bcf3712fc30c8b4b7f714ebbf0bfcb922bb6 (diff)
ARM: shmobile: r8a73a4: Remove ->init_machine() special case
No need to special case r8a73a4 ->init_machine(), so get rid of undesired cpufreq platform device from the generic long term r8a73a4 DT support code. For short term support on APE6EVM the DT reference implementation already adds a "cpufreq-cpu0" platform device so that can be used for development. Regarding more long term cpufreq support, perhaps it makes sense to adjust the cpufreq driver to check for DT information directly instead of using a platform device for software configuration and DT for hardware parameters. Signed-off-by: Magnus Damm <damm@opensource.se> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm/mach-shmobile/setup-r8a73a4.c')
-rw-r--r--arch/arm/mach-shmobile/setup-r8a73a4.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/arm/mach-shmobile/setup-r8a73a4.c b/arch/arm/mach-shmobile/setup-r8a73a4.c
index d533bd23865c..11c0f6305e6b 100644
--- a/arch/arm/mach-shmobile/setup-r8a73a4.c
+++ b/arch/arm/mach-shmobile/setup-r8a73a4.c
@@ -210,11 +210,6 @@ void __init r8a73a4_init_delay(void)
210} 210}
211 211
212#ifdef CONFIG_USE_OF 212#ifdef CONFIG_USE_OF
213void __init r8a73a4_add_standard_devices_dt(void)
214{
215 platform_device_register_simple("cpufreq-cpu0", -1, NULL, 0);
216 of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
217}
218 213
219static const char *r8a73a4_boards_compat_dt[] __initdata = { 214static const char *r8a73a4_boards_compat_dt[] __initdata = {
220 "renesas,r8a73a4", 215 "renesas,r8a73a4",
@@ -223,7 +218,6 @@ static const char *r8a73a4_boards_compat_dt[] __initdata = {
223 218
224DT_MACHINE_START(R8A73A4_DT, "Generic R8A73A4 (Flattened Device Tree)") 219DT_MACHINE_START(R8A73A4_DT, "Generic R8A73A4 (Flattened Device Tree)")
225 .init_early = r8a73a4_init_delay, 220 .init_early = r8a73a4_init_delay,
226 .init_machine = r8a73a4_add_standard_devices_dt,
227 .init_time = shmobile_timer_init, 221 .init_time = shmobile_timer_init,
228 .dt_compat = r8a73a4_boards_compat_dt, 222 .dt_compat = r8a73a4_boards_compat_dt,
229MACHINE_END 223MACHINE_END