Subject: [PATCH] ARM: shmobile: Remove Lager DT reference legacy clock bits

From: [email-masked] (Magnus Damm)
Date: Mon, 17 Feb 2014 16:19:45 +0900

From: Magnus Damm <[email-masked]>

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 <[email-masked]>
---

 Written against renesas-devel-v3.14-rc3-20140217

 arch/arm/mach-shmobile/board-lager-reference.c |    4 ----
 1 file changed, 4 deletions(-)

--- 0001/arch/arm/mach-shmobile/board-lager-reference.c
+++ work/arch/arm/mach-shmobile/board-lager-reference.c	2014-02-17 16:08:31.000000000 +0900
@@ -88,7 +88,6 @@ static void __init lager_add_du_device(v
 
 static void __init lager_add_standard_devices(void)
 {
-#ifdef CONFIG_COMMON_CLK
 	/*
 	 * This is a really crude hack to provide clkdev support to platform
 	 * devices until they get moved to DT.
@@ -126,9 +125,6 @@ static void __init lager_add_standard_de
 			clk_put(clk);
 		}
 	}
-#else
-	r8a7790_clock_init();
-#endif
 
 	r8a7790_add_dt_devices();
 	of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);