aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-shmobile
diff options
context:
space:
mode:
authorSimon Horman <horms+renesas@verge.net.au>2014-08-11 20:04:42 -0400
committerSimon Horman <horms+renesas@verge.net.au>2014-08-23 06:58:57 -0400
commit433306747791845677ba662435a9bbbafaa21df3 (patch)
tree4bca21d07932967eebb9a2ab8e63559f0f7d3231 /arch/arm/mach-shmobile
parent5ebb4e849966e9cb3d5450773c86a1bf79e76f2d (diff)
ARM: shmobile: r8a7740: Remove r8a7740_add_standard_devices_dt
Now that r8a7740_add_standard_devices_dt() is simply a wrapper for a call to of_platform_populate() remove it and call of_platform_populate() directly. Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm/mach-shmobile')
-rw-r--r--arch/arm/mach-shmobile/r8a7740.h1
-rw-r--r--arch/arm/mach-shmobile/setup-r8a7740.c7
2 files changed, 1 insertions, 7 deletions
diff --git a/arch/arm/mach-shmobile/r8a7740.h b/arch/arm/mach-shmobile/r8a7740.h
index 1d1a5fd78b6b..3352fb8650ba 100644
--- a/arch/arm/mach-shmobile/r8a7740.h
+++ b/arch/arm/mach-shmobile/r8a7740.h
@@ -49,7 +49,6 @@ extern void r8a7740_init_irq_of(void);
49extern void r8a7740_map_io(void); 49extern void r8a7740_map_io(void);
50extern void r8a7740_add_early_devices(void); 50extern void r8a7740_add_early_devices(void);
51extern void r8a7740_add_standard_devices(void); 51extern void r8a7740_add_standard_devices(void);
52extern void r8a7740_add_standard_devices_dt(void);
53extern void r8a7740_clock_init(u8 md_ck); 52extern void r8a7740_clock_init(u8 md_ck);
54extern void r8a7740_pinmux_init(void); 53extern void r8a7740_pinmux_init(void);
55extern void r8a7740_pm_init(void); 54extern void r8a7740_pm_init(void);
diff --git a/arch/arm/mach-shmobile/setup-r8a7740.c b/arch/arm/mach-shmobile/setup-r8a7740.c
index dc44a44247e4..8fe270d874c2 100644
--- a/arch/arm/mach-shmobile/setup-r8a7740.c
+++ b/arch/arm/mach-shmobile/setup-r8a7740.c
@@ -781,11 +781,6 @@ void __init r8a7740_add_early_devices(void)
781 781
782#ifdef CONFIG_USE_OF 782#ifdef CONFIG_USE_OF
783 783
784void __init r8a7740_add_standard_devices_dt(void)
785{
786 of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
787}
788
789void __init r8a7740_init_irq_of(void) 784void __init r8a7740_init_irq_of(void)
790{ 785{
791 void __iomem *intc_prio_base = ioremap_nocache(0xe6900010, 0x10); 786 void __iomem *intc_prio_base = ioremap_nocache(0xe6900010, 0x10);
@@ -819,7 +814,7 @@ void __init r8a7740_init_irq_of(void)
819static void __init r8a7740_generic_init(void) 814static void __init r8a7740_generic_init(void)
820{ 815{
821 r8a7740_clock_init(0); 816 r8a7740_clock_init(0);
822 r8a7740_add_standard_devices_dt(); 817 of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
823} 818}
824 819
825static const char *r8a7740_boards_compat_dt[] __initdata = { 820static const char *r8a7740_boards_compat_dt[] __initdata = {