ARM: at91: remove useless at91rm9200_dt_initialize()
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Mon, 12 Jan 2015 18:42:15 +0000 (19:42 +0100)
committerNicolas Ferre <nicolas.ferre@atmel.com>
Thu, 15 Jan 2015 14:24:06 +0000 (15:24 +0100)
at91rm9200_dt_initialize() is doing the same as at91_dt_initialize(), use that
one instead.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
arch/arm/mach-at91/board-dt-rm9200.c
arch/arm/mach-at91/generic.h
arch/arm/mach-at91/setup.c

index 76dfe8f9af5042f8a6375cd3d49a8062214310e7..a15ab6f8de00efb3fbdf76505c36cf170114343e 100644 (file)
@@ -38,6 +38,6 @@ static const char *at91rm9200_dt_board_compat[] __initdata = {
 DT_MACHINE_START(at91rm9200_dt, "Atmel AT91RM9200 (Device Tree)")
        .init_time      = at91rm9200_dt_timer_init,
        .map_io         = at91_map_io,
-       .init_early     = at91rm9200_dt_initialize,
+       .init_early     = at91_dt_initialize,
        .dt_compat      = at91rm9200_dt_board_compat,
 MACHINE_END
index e0368aa063908e988ffe9066526b215a30b8b287..c10c2ddaae6d368375a0481a8a5e03dadb033126 100644 (file)
@@ -22,7 +22,6 @@ extern void __init at91_init_sram(int bank, unsigned long base,
 
  /* Processors */
 extern void __init at91rm9200_set_type(int type);
-extern void __init at91rm9200_dt_initialize(void);
 extern void __init at91_dt_initialize(void);
 
  /* Timer */
index ce25e85720fb695eedef9650d097693e1a714dde..acb8d7724609d0aaa80ae1abc1a15e2726088dc9 100644 (file)
@@ -429,13 +429,6 @@ static void at91_dt_ramc(void)
        at91_pm_set_standby(standby);
 }
 
-void __init at91rm9200_dt_initialize(void)
-{
-       at91_dt_ramc();
-
-       at91_boot_soc.init();
-}
-
 void __init at91_dt_initialize(void)
 {
        at91_dt_ramc();