All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: shmobile: Remove Lager DT reference legacy clock bits
@ 2014-02-17  7:19 ` Magnus Damm
  0 siblings, 0 replies; 6+ messages in thread
From: Magnus Damm @ 2014-02-17  7:19 UTC (permalink / raw)
  To: linux-arm-kernel

From: Magnus Damm <damm@opensource.se>

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 <damm@opensource.se>
---

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH] ARM: shmobile: Remove Lager DT reference legacy clock bits
@ 2014-02-17  7:19 ` Magnus Damm
  0 siblings, 0 replies; 6+ messages in thread
From: Magnus Damm @ 2014-02-17  7:19 UTC (permalink / raw)
  To: linux-arm-kernel

From: Magnus Damm <damm@opensource.se>

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 <damm@opensource.se>
---

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] ARM: shmobile: Remove Lager DT reference legacy clock bits
  2014-02-17  7:19 ` Magnus Damm
@ 2014-02-17 11:07   ` Laurent Pinchart
  -1 siblings, 0 replies; 6+ messages in thread
From: Laurent Pinchart @ 2014-02-17 11:07 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Magnus,

Thank you for the patch.

On Monday 17 February 2014 16:19:45 Magnus Damm wrote:
> From: Magnus Damm <damm@opensource.se>
> 
> 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 <damm@opensource.se>

Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>

> ---
> 
>  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);
> --
> To unsubscribe from this list: send the line "unsubscribe linux-sh" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

-- 
Regards,

Laurent Pinchart


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH] ARM: shmobile: Remove Lager DT reference legacy clock bits
@ 2014-02-17 11:07   ` Laurent Pinchart
  0 siblings, 0 replies; 6+ messages in thread
From: Laurent Pinchart @ 2014-02-17 11:07 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Magnus,

Thank you for the patch.

On Monday 17 February 2014 16:19:45 Magnus Damm wrote:
> From: Magnus Damm <damm@opensource.se>
> 
> 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 <damm@opensource.se>

Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>

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

-- 
Regards,

Laurent Pinchart

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] ARM: shmobile: Remove Lager DT reference legacy clock bits
  2014-02-17 11:07   ` Laurent Pinchart
@ 2014-02-18  0:16     ` Simon Horman
  -1 siblings, 0 replies; 6+ messages in thread
From: Simon Horman @ 2014-02-18  0:16 UTC (permalink / raw)
  To: linux-arm-kernel

On Mon, Feb 17, 2014 at 12:07:05PM +0100, Laurent Pinchart wrote:
> Hi Magnus,
> 
> Thank you for the patch.
> 
> On Monday 17 February 2014 16:19:45 Magnus Damm wrote:
> > From: Magnus Damm <damm@opensource.se>
> > 
> > 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 <damm@opensource.se>
> 
> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>

Thanks, I have queued this up.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH] ARM: shmobile: Remove Lager DT reference legacy clock bits
@ 2014-02-18  0:16     ` Simon Horman
  0 siblings, 0 replies; 6+ messages in thread
From: Simon Horman @ 2014-02-18  0:16 UTC (permalink / raw)
  To: linux-arm-kernel

On Mon, Feb 17, 2014 at 12:07:05PM +0100, Laurent Pinchart wrote:
> Hi Magnus,
> 
> Thank you for the patch.
> 
> On Monday 17 February 2014 16:19:45 Magnus Damm wrote:
> > From: Magnus Damm <damm@opensource.se>
> > 
> > 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 <damm@opensource.se>
> 
> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>

Thanks, I have queued this up.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-02-18  0:16 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-17  7:19 [PATCH] ARM: shmobile: Remove Lager DT reference legacy clock bits Magnus Damm
2014-02-17  7:19 ` Magnus Damm
2014-02-17 11:07 ` Laurent Pinchart
2014-02-17 11:07   ` Laurent Pinchart
2014-02-18  0:16   ` Simon Horman
2014-02-18  0:16     ` Simon Horman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.