linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] clocksource: sh_cmt: Remove obsolete sh-cmt-48 platform_device_id entry
@ 2015-07-14 12:00 Geert Uytterhoeven
  2015-07-15  0:09 ` Simon Horman
  2015-07-16 11:55 ` Daniel Lezcano
  0 siblings, 2 replies; 3+ messages in thread
From: Geert Uytterhoeven @ 2015-07-14 12:00 UTC (permalink / raw)
  To: Daniel Lezcano, Thomas Gleixner
  Cc: linux-sh, linux-kernel, Geert Uytterhoeven

Since the removal of the r8a7740 legacy SoC code in commit
44d88c754e57a6d9 ("ARM: shmobile: Remove legacy SoC code for R-Mobile
A1"), all former users of the "sh-cmt-48-gen2" platform device name are
only supported in generic DT-only ARM multi-platform builds.  The driver
doesn't need to match platform devices by name anymore, hence remove the
corresponding platform_device_id entry.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
The commit mentioned above is in -next, destined for v4.3.
---
 drivers/clocksource/sh_cmt.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/clocksource/sh_cmt.c b/drivers/clocksource/sh_cmt.c
index ef799532a7a7963e..e4138e2a88f56b4e 100644
--- a/drivers/clocksource/sh_cmt.c
+++ b/drivers/clocksource/sh_cmt.c
@@ -935,7 +935,6 @@ static int sh_cmt_map_memory(struct sh_cmt_device *cmt)
 static const struct platform_device_id sh_cmt_id_table[] = {
 	{ "sh-cmt-16", (kernel_ulong_t)&sh_cmt_info[SH_CMT_16BIT] },
 	{ "sh-cmt-32", (kernel_ulong_t)&sh_cmt_info[SH_CMT_32BIT] },
-	{ "sh-cmt-48", (kernel_ulong_t)&sh_cmt_info[SH_CMT_48BIT] },
 	{ }
 };
 MODULE_DEVICE_TABLE(platform, sh_cmt_id_table);
-- 
1.9.1


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

* Re: [PATCH] clocksource: sh_cmt: Remove obsolete sh-cmt-48 platform_device_id entry
  2015-07-14 12:00 [PATCH] clocksource: sh_cmt: Remove obsolete sh-cmt-48 platform_device_id entry Geert Uytterhoeven
@ 2015-07-15  0:09 ` Simon Horman
  2015-07-16 11:55 ` Daniel Lezcano
  1 sibling, 0 replies; 3+ messages in thread
From: Simon Horman @ 2015-07-15  0:09 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: Daniel Lezcano, Thomas Gleixner, linux-sh, linux-kernel

On Tue, Jul 14, 2015 at 02:00:47PM +0200, Geert Uytterhoeven wrote:
> Since the removal of the r8a7740 legacy SoC code in commit
> 44d88c754e57a6d9 ("ARM: shmobile: Remove legacy SoC code for R-Mobile
> A1"), all former users of the "sh-cmt-48-gen2" platform device name are
> only supported in generic DT-only ARM multi-platform builds.  The driver
> doesn't need to match platform devices by name anymore, hence remove the
> corresponding platform_device_id entry.
> 
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>

Acked-by: Simon Horman <horms+renesas@verge.net.au>

> ---
> The commit mentioned above is in -next, destined for v4.3.
> ---
>  drivers/clocksource/sh_cmt.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/clocksource/sh_cmt.c b/drivers/clocksource/sh_cmt.c
> index ef799532a7a7963e..e4138e2a88f56b4e 100644
> --- a/drivers/clocksource/sh_cmt.c
> +++ b/drivers/clocksource/sh_cmt.c
> @@ -935,7 +935,6 @@ static int sh_cmt_map_memory(struct sh_cmt_device *cmt)
>  static const struct platform_device_id sh_cmt_id_table[] = {
>  	{ "sh-cmt-16", (kernel_ulong_t)&sh_cmt_info[SH_CMT_16BIT] },
>  	{ "sh-cmt-32", (kernel_ulong_t)&sh_cmt_info[SH_CMT_32BIT] },
> -	{ "sh-cmt-48", (kernel_ulong_t)&sh_cmt_info[SH_CMT_48BIT] },
>  	{ }
>  };
>  MODULE_DEVICE_TABLE(platform, sh_cmt_id_table);
> -- 
> 1.9.1
> 
> --
> 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
> 

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

* Re: [PATCH] clocksource: sh_cmt: Remove obsolete sh-cmt-48 platform_device_id entry
  2015-07-14 12:00 [PATCH] clocksource: sh_cmt: Remove obsolete sh-cmt-48 platform_device_id entry Geert Uytterhoeven
  2015-07-15  0:09 ` Simon Horman
@ 2015-07-16 11:55 ` Daniel Lezcano
  1 sibling, 0 replies; 3+ messages in thread
From: Daniel Lezcano @ 2015-07-16 11:55 UTC (permalink / raw)
  To: Geert Uytterhoeven, Thomas Gleixner; +Cc: linux-sh, linux-kernel

On 07/14/2015 02:00 PM, Geert Uytterhoeven wrote:
> Since the removal of the r8a7740 legacy SoC code in commit
> 44d88c754e57a6d9 ("ARM: shmobile: Remove legacy SoC code for R-Mobile
> A1"), all former users of the "sh-cmt-48-gen2" platform device name are
> only supported in generic DT-only ARM multi-platform builds.  The driver
> doesn't need to match platform devices by name anymore, hence remove the
> corresponding platform_device_id entry.
>
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> ---

Applied for 4.3

Thanks !

   -- Daniel

-- 
  <http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs

Follow Linaro:  <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog


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

end of thread, other threads:[~2015-07-16 11:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-14 12:00 [PATCH] clocksource: sh_cmt: Remove obsolete sh-cmt-48 platform_device_id entry Geert Uytterhoeven
2015-07-15  0:09 ` Simon Horman
2015-07-16 11:55 ` Daniel Lezcano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).