ARM: shmobile: Remove Koelsch DT reference legacy clock bits
Magnus Damm
maintainerPATCH 1/1 ARM: shmobile: Remove Koelsch DT reference legacy clock bits
From: Magnus Damm <[email protected]>
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.
---
Written against renesas-devel-v3.14-rc3-20140217
arch/arm/mach-shmobile/board-koelsch-reference.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)
arch/arm/mach-shmobile/board-koelsch-reference.c +1 -4
@@ -84,7 +84,6 @@ static void __init koelsch_add_du_devicestatic 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_clk_put (clk); } } -#else -r8a7791_clock_init (); -#endif +r8a7791_add_dt_devices ();of_platform_populate (NULL , of_default_bus_match_table,NULL ,NULL );
PATCH 1/1 ARM: shmobile: Remove Koelsch DT reference legacy clock bits
Hi Magnus,
Thank you for the patch.
Quoted 7 lines · On Monday 17 February 2014 16:21:28 Magnus Damm wrote:
From: Magnus Damm <[email protected]>
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 <[email protected]>
Quoted 33 lines
---
Written against renesas-devel-v3.14-rc3-20140217
arch/arm/mach-shmobile/board-koelsch-reference.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)arch/arm/mach-shmobile/board-koelsch-reference.c +0
-016:10:07.000000000 +0900 @@ -84,7 +84,6 @@ static void
__initkoelsch_add_du_devicestatic void
__initkoelsch_add_standard_devices(void){arch/arm/mach-shmobile/board-koelsch-reference.c +1
-5-#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_clk_put (clk); } } -#else -r8a7791_clock_init (); -#endif +r8a7791_add_dt_devices ();of_platform_populate (NULL , of_default_bus_match_table,NULL ,NULL ); --To unsubscribe from this list: send the line "unsubscribe linux-sh" in the body of a message to majordomo at vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Signature · 3 lines
Regards, Laurent Pinchart
PATCH 1/1 ARM: shmobile: Remove Koelsch DT reference legacy clock bits
In reply to Magnus DammQuoted 7 lines · Magnus Damm
From: Magnus Damm <[email protected]>
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 <[email protected]>
Thanks, I have queued this up.