linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] pinctrl: sh-pfc: Remove obsolete platform_device_id entries
@ 2015-10-07 10:28 Geert Uytterhoeven
  2015-10-07 10:28 ` [PATCH 1/2] pinctrl: sh-pfc: Remove obsolete r8a7779 platform_device_id entry Geert Uytterhoeven
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Geert Uytterhoeven @ 2015-10-07 10:28 UTC (permalink / raw)
  To: Linus Walleij, Laurent Pinchart; +Cc: linux-gpio, linux-sh, Geert Uytterhoeven

	Hi Linus, Laurent,

Since the removal of the r8a7778 legacy SoC code in commit
4baadb9e05c68962 ("ARM: shmobile: r8a7778: remove obsolete setup code"),
which is now in arm-soc/for-next, Renesas R-Car Gen1 SoCs are only
supported in generic DT-only ARM multi-platform builds.
The driver doesn't need to match platform devices by name anymore, hence
this series removes the corresponding platform_device_id entries.

Geert Uytterhoeven (2):
  pinctrl: sh-pfc: Remove obsolete r8a7779 platform_device_id entry
  pinctrl: sh-pfc: Remove obsolete r8a7778 platform_device_id entry

 drivers/pinctrl/sh-pfc/core.c | 6 ------
 1 file changed, 6 deletions(-)

-- 
1.9.1

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds

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

* [PATCH 1/2] pinctrl: sh-pfc: Remove obsolete r8a7779 platform_device_id entry
  2015-10-07 10:28 [PATCH 0/2] pinctrl: sh-pfc: Remove obsolete platform_device_id entries Geert Uytterhoeven
@ 2015-10-07 10:28 ` Geert Uytterhoeven
  2015-10-07 10:28 ` [PATCH 2/2] pinctrl: sh-pfc: Remove obsolete r8a7778 " Geert Uytterhoeven
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Geert Uytterhoeven @ 2015-10-07 10:28 UTC (permalink / raw)
  To: Linus Walleij, Laurent Pinchart; +Cc: linux-gpio, linux-sh, Geert Uytterhoeven

Since the removal of the r8a7779 legacy SoC code in commit
c99cd90d98a98aa1 ("ARM: shmobile: r8a7779: Remove legacy SoC code"),
r8a7779 is 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>
---
 drivers/pinctrl/sh-pfc/core.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/drivers/pinctrl/sh-pfc/core.c b/drivers/pinctrl/sh-pfc/core.c
index bcf3017318db..a0c5e9ef7433 100644
--- a/drivers/pinctrl/sh-pfc/core.c
+++ b/drivers/pinctrl/sh-pfc/core.c
@@ -596,9 +596,6 @@ static const struct platform_device_id sh_pfc_id_table[] = {
 #ifdef CONFIG_PINCTRL_PFC_R8A7778
 	{ "pfc-r8a7778", (kernel_ulong_t)&r8a7778_pinmux_info },
 #endif
-#ifdef CONFIG_PINCTRL_PFC_R8A7779
-	{ "pfc-r8a7779", (kernel_ulong_t)&r8a7779_pinmux_info },
-#endif
 #ifdef CONFIG_PINCTRL_PFC_SH7203
 	{ "pfc-sh7203", (kernel_ulong_t)&sh7203_pinmux_info },
 #endif
-- 
1.9.1


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

* [PATCH 2/2] pinctrl: sh-pfc: Remove obsolete r8a7778 platform_device_id entry
  2015-10-07 10:28 [PATCH 0/2] pinctrl: sh-pfc: Remove obsolete platform_device_id entries Geert Uytterhoeven
  2015-10-07 10:28 ` [PATCH 1/2] pinctrl: sh-pfc: Remove obsolete r8a7779 platform_device_id entry Geert Uytterhoeven
@ 2015-10-07 10:28 ` Geert Uytterhoeven
  2015-10-07 11:05 ` [PATCH 0/2] pinctrl: sh-pfc: Remove obsolete platform_device_id entries Laurent Pinchart
  2015-10-16 15:06 ` Linus Walleij
  3 siblings, 0 replies; 5+ messages in thread
From: Geert Uytterhoeven @ 2015-10-07 10:28 UTC (permalink / raw)
  To: Linus Walleij, Laurent Pinchart; +Cc: linux-gpio, linux-sh, Geert Uytterhoeven

Since the removal of the r8a7778 legacy SoC code in commit
4baadb9e05c68962 ("ARM: shmobile: r8a7778: remove obsolete setup code"),
r8a7778 is 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>
---
Commit 4baadb9e05c68962 is now in arm-soc/for-next.
---
 drivers/pinctrl/sh-pfc/core.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/drivers/pinctrl/sh-pfc/core.c b/drivers/pinctrl/sh-pfc/core.c
index a0c5e9ef7433..722c8586ce28 100644
--- a/drivers/pinctrl/sh-pfc/core.c
+++ b/drivers/pinctrl/sh-pfc/core.c
@@ -593,9 +593,6 @@ static int sh_pfc_remove(struct platform_device *pdev)
 }
 
 static const struct platform_device_id sh_pfc_id_table[] = {
-#ifdef CONFIG_PINCTRL_PFC_R8A7778
-	{ "pfc-r8a7778", (kernel_ulong_t)&r8a7778_pinmux_info },
-#endif
 #ifdef CONFIG_PINCTRL_PFC_SH7203
 	{ "pfc-sh7203", (kernel_ulong_t)&sh7203_pinmux_info },
 #endif
-- 
1.9.1


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

* Re: [PATCH 0/2] pinctrl: sh-pfc: Remove obsolete platform_device_id entries
  2015-10-07 10:28 [PATCH 0/2] pinctrl: sh-pfc: Remove obsolete platform_device_id entries Geert Uytterhoeven
  2015-10-07 10:28 ` [PATCH 1/2] pinctrl: sh-pfc: Remove obsolete r8a7779 platform_device_id entry Geert Uytterhoeven
  2015-10-07 10:28 ` [PATCH 2/2] pinctrl: sh-pfc: Remove obsolete r8a7778 " Geert Uytterhoeven
@ 2015-10-07 11:05 ` Laurent Pinchart
  2015-10-16 15:06 ` Linus Walleij
  3 siblings, 0 replies; 5+ messages in thread
From: Laurent Pinchart @ 2015-10-07 11:05 UTC (permalink / raw)
  To: Geert Uytterhoeven; +Cc: Linus Walleij, linux-gpio, linux-sh

Hi Geert,

Thank you for the patches.

On Wednesday 07 October 2015 12:28:38 Geert Uytterhoeven wrote:
> 	Hi Linus, Laurent,
> 
> Since the removal of the r8a7778 legacy SoC code in commit
> 4baadb9e05c68962 ("ARM: shmobile: r8a7778: remove obsolete setup code"),
> which is now in arm-soc/for-next, Renesas R-Car Gen1 SoCs are only
> supported in generic DT-only ARM multi-platform builds.
> The driver doesn't need to match platform devices by name anymore, hence
> this series removes the corresponding platform_device_id entries.
> 
> Geert Uytterhoeven (2):
>   pinctrl: sh-pfc: Remove obsolete r8a7779 platform_device_id entry
>   pinctrl: sh-pfc: Remove obsolete r8a7778 platform_device_id entry

For the whole series,

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

>  drivers/pinctrl/sh-pfc/core.c | 6 ------
>  1 file changed, 6 deletions(-)

-- 
Regards,

Laurent Pinchart


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

* Re: [PATCH 0/2] pinctrl: sh-pfc: Remove obsolete platform_device_id entries
  2015-10-07 10:28 [PATCH 0/2] pinctrl: sh-pfc: Remove obsolete platform_device_id entries Geert Uytterhoeven
                   ` (2 preceding siblings ...)
  2015-10-07 11:05 ` [PATCH 0/2] pinctrl: sh-pfc: Remove obsolete platform_device_id entries Laurent Pinchart
@ 2015-10-16 15:06 ` Linus Walleij
  3 siblings, 0 replies; 5+ messages in thread
From: Linus Walleij @ 2015-10-16 15:06 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: Laurent Pinchart, linux-gpio@vger.kernel.org,
	linux-sh@vger.kernel.org

On Wed, Oct 7, 2015 at 12:28 PM, Geert Uytterhoeven
<geert+renesas@glider.be> wrote:

> Since the removal of the r8a7778 legacy SoC code in commit
> 4baadb9e05c68962 ("ARM: shmobile: r8a7778: remove obsolete setup code"),
> which is now in arm-soc/for-next, Renesas R-Car Gen1 SoCs are only
> supported in generic DT-only ARM multi-platform builds.
> The driver doesn't need to match platform devices by name anymore, hence
> this series removes the corresponding platform_device_id entries.

Acked-by: Linus Walleij <linus.walleij@linaro.org>

Add to your pull request...

Yours,
Linus Walleij

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

end of thread, other threads:[~2015-10-16 15:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-07 10:28 [PATCH 0/2] pinctrl: sh-pfc: Remove obsolete platform_device_id entries Geert Uytterhoeven
2015-10-07 10:28 ` [PATCH 1/2] pinctrl: sh-pfc: Remove obsolete r8a7779 platform_device_id entry Geert Uytterhoeven
2015-10-07 10:28 ` [PATCH 2/2] pinctrl: sh-pfc: Remove obsolete r8a7778 " Geert Uytterhoeven
2015-10-07 11:05 ` [PATCH 0/2] pinctrl: sh-pfc: Remove obsolete platform_device_id entries Laurent Pinchart
2015-10-16 15:06 ` Linus Walleij

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