aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorMagnus Damm <damm@opensource.se>2013-07-01 01:42:13 -0400
committerSimon Horman <horms+renesas@verge.net.au>2013-07-16 21:02:28 -0400
commitfdbc45dbbe5a69a2c665630ab577726e01eadf23 (patch)
treeb5f934b68277a359a1cb728fee5442638251dc70 /arch/arm
parentea31597fe72245985e9d2521ea7e87acf2f14252 (diff)
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: Magnus Damm <damm@opensource.se> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/mach-shmobile/setup-r8a7790.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/arm/mach-shmobile/setup-r8a7790.c b/arch/arm/mach-shmobile/setup-r8a7790.c
index d405dbd44b07..b7e78b9a7fdf 100644
--- a/arch/arm/mach-shmobile/setup-r8a7790.c
+++ b/arch/arm/mach-shmobile/setup-r8a7790.c
@@ -176,10 +176,6 @@ void __init r8a7790_timer_init(void)
176} 176}
177 177
178#ifdef CONFIG_USE_OF 178#ifdef CONFIG_USE_OF
179void __init r8a7790_add_standard_devices_dt(void)
180{
181 of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
182}
183 179
184static const char *r8a7790_boards_compat_dt[] __initdata = { 180static const char *r8a7790_boards_compat_dt[] __initdata = {
185 "renesas,r8a7790", 181 "renesas,r8a7790",
@@ -187,7 +183,6 @@ static const char *r8a7790_boards_compat_dt[] __initdata = {
187}; 183};
188 184
189DT_MACHINE_START(R8A7790_DT, "Generic R8A7790 (Flattened Device Tree)") 185DT_MACHINE_START(R8A7790_DT, "Generic R8A7790 (Flattened Device Tree)")
190 .init_machine = r8a7790_add_standard_devices_dt,
191 .init_time = r8a7790_timer_init, 186 .init_time = r8a7790_timer_init,
192 .dt_compat = r8a7790_boards_compat_dt, 187 .dt_compat = r8a7790_boards_compat_dt,
193MACHINE_END 188MACHINE_END