diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2014-10-17 14:24:39 +0200 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2014-10-24 06:07:01 +0200 |
commit | dac95365dc2683df55c4e221e2f669a056863307 (patch) | |
tree | 9dbc81dce0e7b0466a2fd309544a1186ef8fb7e3 /arch/arm/mach-shmobile/setup-sh73a0.c | |
parent | ARM: shmobile: r8a7778: Remove wrapper r8a7778_init_delay() (diff) | |
download | linux-dac95365dc2683df55c4e221e2f669a056863307.tar.xz linux-dac95365dc2683df55c4e221e2f669a056863307.zip |
ARM: shmobile: sh73a0: Remove wrapper sh73a0_init_delay()
sh73a0_init_delay() just calls shmobile_init_delay(), hence replace
calls to it by direct calls to shmobile_init_delay().
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm/mach-shmobile/setup-sh73a0.c')
-rw-r--r-- | arch/arm/mach-shmobile/setup-sh73a0.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/arch/arm/mach-shmobile/setup-sh73a0.c b/arch/arm/mach-shmobile/setup-sh73a0.c index b7bd8e509668..0754b121ae83 100644 --- a/arch/arm/mach-shmobile/setup-sh73a0.c +++ b/arch/arm/mach-shmobile/setup-sh73a0.c @@ -740,17 +740,12 @@ void __init sh73a0_add_standard_devices(void) ARRAY_SIZE(sh73a0_late_devices)); } -void __init sh73a0_init_delay(void) -{ - shmobile_init_delay(); -} - /* do nothing for !CONFIG_SMP or !CONFIG_HAVE_TWD */ void __init __weak sh73a0_register_twd(void) { } void __init sh73a0_earlytimer_init(void) { - sh73a0_init_delay(); + shmobile_init_delay(); sh73a0_clock_init(); shmobile_earlytimer_init(); sh73a0_register_twd(); @@ -783,7 +778,7 @@ static const char *sh73a0_boards_compat_dt[] __initdata = { DT_MACHINE_START(SH73A0_DT, "Generic SH73A0 (Flattened Device Tree)") .smp = smp_ops(sh73a0_smp_ops), .map_io = sh73a0_map_io, - .init_early = sh73a0_init_delay, + .init_early = shmobile_init_delay, .init_machine = sh73a0_add_standard_devices_dt, .init_late = shmobile_init_late, .dt_compat = sh73a0_boards_compat_dt, |