aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMagnus Damm <damm@opensource.se>2014-02-17 02:21:28 -0500
committerSimon Horman <horms+renesas@verge.net.au>2014-02-17 19:11:29 -0500
commit34b6a241de1d965b1c047a97fad602687218a866 (patch)
tree06e7fdcae491870f3630c7404e657292cec0485d
parent1ee101d9c416823f960a4841ef81044d461034b5 (diff)
ARM: shmobile: Remove Koelsch DT reference legacy clock bits
Koelsch 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-koelsch-reference.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/arm/mach-shmobile/board-koelsch-reference.c b/arch/arm/mach-shmobile/board-koelsch-reference.c
index 267fe8358cfe..a3fd30242bd8 100644
--- a/arch/arm/mach-shmobile/board-koelsch-reference.c
+++ b/arch/arm/mach-shmobile/board-koelsch-reference.c
@@ -84,7 +84,6 @@ static void __init koelsch_add_du_device(void)
84 84
85static void __init koelsch_add_standard_devices(void) 85static void __init koelsch_add_standard_devices(void)
86{ 86{
87#ifdef CONFIG_COMMON_CLK
88 /* 87 /*
89 * This is a really crude hack to provide clkdev support to the CMT and 88 * This is a really crude hack to provide clkdev support to the CMT and
90 * DU devices until they get moved to DT. 89 * DU devices until they get moved to DT.
@@ -125,9 +124,7 @@ static void __init koelsch_add_standard_devices(void)
125 clk_put(clk); 124 clk_put(clk);
126 } 125 }
127 } 126 }
128#else 127
129 r8a7791_clock_init();
130#endif
131 r8a7791_add_dt_devices(); 128 r8a7791_add_dt_devices();
132 of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL); 129 of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
133 130