aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorMagnus Damm <damm@opensource.se>2013-07-01 01:41:33 -0400
committerSimon Horman <horms+renesas@verge.net.au>2013-07-16 21:02:26 -0400
commit40216263d3d0b9b46688a28a96daf66fe75caa28 (patch)
treef430a7982f578b9ce9bf70444aaa2ec6ff6f5131 /arch/arm
parent88378837780166d67a11142cd6f76596c0a2d8c3 (diff)
ARM: shmobile: Remove unused r8a7778 auxdata and callback
Replace the SoC-specific callback init_machine() with a NULL to use the default code. This cleans up the code and reduces the number of lines. Signed-off-by: Magnus Damm <damm@opensource.se> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/mach-shmobile/setup-r8a7778.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/arch/arm/mach-shmobile/setup-r8a7778.c b/arch/arm/mach-shmobile/setup-r8a7778.c
index b70bfeef2f6c..2a101ebdedf4 100644
--- a/arch/arm/mach-shmobile/setup-r8a7778.c
+++ b/arch/arm/mach-shmobile/setup-r8a7778.c
@@ -457,16 +457,6 @@ void __init r8a7778_init_irq_dt(void)
457 r8a7778_init_irq_common(); 457 r8a7778_init_irq_common();
458} 458}
459 459
460static const struct of_dev_auxdata r8a7778_auxdata_lookup[] __initconst = {
461 {},
462};
463
464void __init r8a7778_add_standard_devices_dt(void)
465{
466 of_platform_populate(NULL, of_default_bus_match_table,
467 r8a7778_auxdata_lookup, NULL);
468}
469
470static const char *r8a7778_compat_dt[] __initdata = { 460static const char *r8a7778_compat_dt[] __initdata = {
471 "renesas,r8a7778", 461 "renesas,r8a7778",
472 NULL, 462 NULL,
@@ -475,7 +465,6 @@ static const char *r8a7778_compat_dt[] __initdata = {
475DT_MACHINE_START(R8A7778_DT, "Generic R8A7778 (Flattened Device Tree)") 465DT_MACHINE_START(R8A7778_DT, "Generic R8A7778 (Flattened Device Tree)")
476 .init_early = r8a7778_init_delay, 466 .init_early = r8a7778_init_delay,
477 .init_irq = r8a7778_init_irq_dt, 467 .init_irq = r8a7778_init_irq_dt,
478 .init_machine = r8a7778_add_standard_devices_dt,
479 .init_time = shmobile_timer_init, 468 .init_time = shmobile_timer_init,
480 .dt_compat = r8a7778_compat_dt, 469 .dt_compat = r8a7778_compat_dt,
481 .init_late = r8a7778_init_late, 470 .init_late = r8a7778_init_late,