Skip to content

Commit

Permalink
ARM: at91: remove useless at91rm9200_dt_initialize()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Alexandre Belloni authored and Nicolas Ferre committed Jan 15, 2015
1 parent 5f58c97 commit 427accd
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 9 deletions.
2 changes: 1 addition & 1 deletion arch/arm/mach-at91/board-dt-rm9200.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
1 change: 0 additions & 1 deletion arch/arm/mach-at91/generic.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down
7 changes: 0 additions & 7 deletions arch/arm/mach-at91/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 427accd

Please sign in to comment.