Skip to contentSkip to conversation

ARM: shmobile: Remove Lager DT reference legacy clock bits

PATCH New Magnus Damm 3 participants 3 messages Feb 17, 2014 – Feb 18, 2014

Subsystems (4)
lore
Share & tools
lore

Magnus Damm

author maintainer
#0 lore raw

PATCH 1/1 ARM: shmobile: Remove Lager DT reference legacy clock bits

From: Magnus Damm <[email protected]>

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.

---

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

 arch/arm/mach-shmobile/board-lager-reference.c |    4 ----
 1 file changed, 4 deletions(-)
arch/arm/mach-shmobile/board-lager-reference.c +0 -4
@@ -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);
#1 lore raw

PATCH 1/1 ARM: shmobile: Remove Lager DT reference legacy clock bits

Hi Magnus,

Thank you for the patch.

Quoted 7 lines · On Monday 17 February 2014 16:19:45 Magnus Damm wrote:

From: Magnus Damm <[email protected]>

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.

Quoted 32 lines

---

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

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

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) {

arch/arm/mach-shmobile/board-lager-reference.c +0 -5
-#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);
--

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
#2 lore raw

PATCH 1/1 ARM: shmobile: Remove Lager DT reference legacy clock bits

Quoted 7 lines · Laurent Pinchart

Hi Magnus,

Thank you for the patch.

Quoted 2 lines · On Monday 17 February 2014 16:19:45 Magnus Damm wrote:

From: Magnus Damm <[email protected]>

Quoted 7 lines
Quoted 5 lines

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.

Thanks, I have queued this up.