aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMagnus Damm <damm@opensource.se>2014-02-17 02:19:45 -0500
committerSimon Horman <horms+renesas@verge.net.au>2014-02-17 19:15:49 -0500
commit6197c08ab81cf1430cbe7346fd6ca0b5a18580bf (patch)
treef9a7ce604c8c26ff417717b3a78eebc4d4ec825a
parent34b6a241de1d965b1c047a97fad602687218a866 (diff)
ARM: shmobile: Remove Lager DT reference legacy clock bits
Lager DT reference is these days built for multiplatform only which means that CCF comes with the package. Remove unused legacy code ifdefs to clean up the code. Signed-off-by: Magnus Damm <damm@opensource.se> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
-rw-r--r--arch/arm/mach-shmobile/board-lager-reference.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/arm/mach-shmobile/board-lager-reference.c b/arch/arm/mach-shmobile/board-lager-reference.c
index 6ba8b3b41609..440aac36d693 100644
--- a/arch/arm/mach-shmobile/board-lager-reference.c
+++ b/arch/arm/mach-shmobile/board-lager-reference.c
@@ -88,7 +88,6 @@ static void __init lager_add_du_device(void)
88 88
89static void __init lager_add_standard_devices(void) 89static void __init lager_add_standard_devices(void)
90{ 90{
91#ifdef CONFIG_COMMON_CLK
92 /* 91 /*
93 * This is a really crude hack to provide clkdev support to platform 92 * This is a really crude hack to provide clkdev support to platform
94 * devices until they get moved to DT. 93 * devices until they get moved to DT.
@@ -126,9 +125,6 @@ static void __init lager_add_standard_devices(void)
126 clk_put(clk); 125 clk_put(clk);
127 } 126 }
128 } 127 }
129#else
130 r8a7790_clock_init();
131#endif
132 128
133 r8a7790_add_dt_devices(); 129 r8a7790_add_dt_devices();
134 of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL); 130 of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);