ARM: shmobile: sh73a0: Remove unused sh73a0_add_standard_devices_dt()
authorGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 17 Feb 2015 14:52:40 +0000 (15:52 +0100)
committerSimon Horman <horms+renesas@verge.net.au>
Mon, 23 Feb 2015 23:22:49 +0000 (08:22 +0900)
"ARM: shmobile: kzm9g-reference: Remove board C code and DT file"
removed the last user of sh73a0_add_standard_devices_dt(). Hence remove
this function.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/setup-sh73a0.c
arch/arm/mach-shmobile/sh73a0.h

index 48f2447ab01f6e600b393df1dc446286f3e8884d..2f68459e7811432356058238b826f5f34010bd3d 100644 (file)
@@ -783,15 +783,6 @@ void __init sh73a0_add_early_devices(void)
        shmobile_setup_console();
 }
 
-void __init sh73a0_add_standard_devices_dt(void)
-{
-       /* clocks are setup late during boot in the case of DT */
-#ifndef CONFIG_COMMON_CLK
-       sh73a0_clock_init();
-#endif
-       of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
-}
-
 #define RESCNT2 IOMEM(0xe6188020)
 static void sh73a0_restart(enum reboot_mode mode, const char *cmd)
 {
index f037c64b14fc076749933eb2cef291500e56ee0a..5a80f18b4fa0665f375430afe6dd0cacaa66de62 100644 (file)
@@ -77,7 +77,6 @@ extern void sh73a0_map_io(void);
 extern void sh73a0_earlytimer_init(void);
 extern void sh73a0_add_early_devices(void);
 extern void sh73a0_add_standard_devices(void);
-extern void sh73a0_add_standard_devices_dt(void);
 extern void sh73a0_clock_init(void);
 extern void sh73a0_pinmux_init(void);
 extern void sh73a0_pm_init(void);