]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: shmobile: Remove Koelsch DT reference legacy clock bits
authorMagnus Damm <damm@opensource.se>
Mon, 17 Feb 2014 07:21:28 +0000 (16:21 +0900)
committerSimon Horman <horms+renesas@verge.net.au>
Tue, 18 Feb 2014 00:11:29 +0000 (09:11 +0900)
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>
arch/arm/mach-shmobile/board-koelsch-reference.c

index 267fe8358cfe3e2deafcdf1dcfd9b74c2a959dc4..a3fd30242bd87d2a8c77f2c6ade2a3c96259e039 100644 (file)
@@ -84,7 +84,6 @@ static void __init koelsch_add_du_device(void)
 
 static void __init koelsch_add_standard_devices(void)
 {
-#ifdef CONFIG_COMMON_CLK
        /*
         * This is a really crude hack to provide clkdev support to the CMT and
         * DU devices until they get moved to DT.
@@ -125,9 +124,7 @@ static void __init koelsch_add_standard_devices(void)
                        clk_put(clk);
                }
        }
-#else
-       r8a7791_clock_init();
-#endif
+
        r8a7791_add_dt_devices();
        of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);