Commit fdbc45db authored by Magnus Damm's avatar Magnus Damm Committed by Simon Horman

ARM: shmobile: Remove redundant r8a7790 callback

Replace the SoC-specific callback init_machine() with
a NULL to use the default code. This cleans up the code
and reduces the number of lines.
Signed-off-by: default avatarMagnus Damm <damm@opensource.se>
Signed-off-by: default avatarSimon Horman <horms+renesas@verge.net.au>
parent ea31597f
...@@ -176,10 +176,6 @@ void __init r8a7790_timer_init(void) ...@@ -176,10 +176,6 @@ void __init r8a7790_timer_init(void)
} }
#ifdef CONFIG_USE_OF #ifdef CONFIG_USE_OF
void __init r8a7790_add_standard_devices_dt(void)
{
of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
}
static const char *r8a7790_boards_compat_dt[] __initdata = { static const char *r8a7790_boards_compat_dt[] __initdata = {
"renesas,r8a7790", "renesas,r8a7790",
...@@ -187,7 +183,6 @@ static const char *r8a7790_boards_compat_dt[] __initdata = { ...@@ -187,7 +183,6 @@ static const char *r8a7790_boards_compat_dt[] __initdata = {
}; };
DT_MACHINE_START(R8A7790_DT, "Generic R8A7790 (Flattened Device Tree)") DT_MACHINE_START(R8A7790_DT, "Generic R8A7790 (Flattened Device Tree)")
.init_machine = r8a7790_add_standard_devices_dt,
.init_time = r8a7790_timer_init, .init_time = r8a7790_timer_init,
.dt_compat = r8a7790_boards_compat_dt, .dt_compat = r8a7790_boards_compat_dt,
MACHINE_END MACHINE_END
......
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