Commit 92ee341e authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Simon Horman

ARM: shmobile: r8a7778: Remove wrapper r8a7778_init_delay()

r8a7778_init_delay() just calls shmobile_init_delay(), hence replace
calls to it by direct calls to shmobile_init_delay().
Signed-off-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Acked-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: default avatarSimon Horman <horms+renesas@verge.net.au>
parent f114040e
...@@ -71,7 +71,6 @@ extern void r8a7778_add_standard_devices_dt(void); ...@@ -71,7 +71,6 @@ extern void r8a7778_add_standard_devices_dt(void);
extern void r8a7778_add_dt_devices(void); extern void r8a7778_add_dt_devices(void);
extern void r8a7778_init_late(void); extern void r8a7778_init_late(void);
extern void r8a7778_init_delay(void);
extern void r8a7778_init_irq_dt(void); extern void r8a7778_init_irq_dt(void);
extern void r8a7778_clock_init(void); extern void r8a7778_clock_init(void);
extern void r8a7778_init_irq_extpin(int irlm); extern void r8a7778_init_irq_extpin(int irlm);
......
...@@ -572,11 +572,6 @@ void __init r8a7778_init_irq_extpin(int irlm) ...@@ -572,11 +572,6 @@ void __init r8a7778_init_irq_extpin(int irlm)
&irqpin_platform_data, sizeof(irqpin_platform_data)); &irqpin_platform_data, sizeof(irqpin_platform_data));
} }
void __init r8a7778_init_delay(void)
{
shmobile_init_delay();
}
#ifdef CONFIG_USE_OF #ifdef CONFIG_USE_OF
#define INT2SMSKCR0 0x82288 /* 0xfe782288 */ #define INT2SMSKCR0 0x82288 /* 0xfe782288 */
#define INT2SMSKCR1 0x8228c /* 0xfe78228c */ #define INT2SMSKCR1 0x8228c /* 0xfe78228c */
...@@ -608,7 +603,7 @@ static const char *r8a7778_compat_dt[] __initdata = { ...@@ -608,7 +603,7 @@ static const char *r8a7778_compat_dt[] __initdata = {
}; };
DT_MACHINE_START(R8A7778_DT, "Generic R8A7778 (Flattened Device Tree)") DT_MACHINE_START(R8A7778_DT, "Generic R8A7778 (Flattened Device Tree)")
.init_early = r8a7778_init_delay, .init_early = shmobile_init_delay,
.init_irq = r8a7778_init_irq_dt, .init_irq = r8a7778_init_irq_dt,
.init_late = shmobile_init_late, .init_late = shmobile_init_late,
.dt_compat = r8a7778_compat_dt, .dt_compat = r8a7778_compat_dt,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment