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

The emev2 platform is now DT-only, the driver doesn't need to match
platform devices by name anymore. Remove the corresponding
platform_device_id entry.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
The emev2 platform never had pinctrl support for non-DT.

 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 656745f545442d58..0e6083fc3563f4a5 100644
--- a/drivers/pinctrl/sh-pfc/core.c
+++ b/drivers/pinctrl/sh-pfc/core.c
@@ -579,9 +579,6 @@ static int sh_pfc_remove(struct platform_device *pdev)
 }
 
 static const struct platform_device_id sh_pfc_id_table[] = {
-#ifdef CONFIG_PINCTRL_PFC_EMEV2
-	{ "pfc-emev2", (kernel_ulong_t)&emev2_pinmux_info },
-#endif
 #ifdef CONFIG_PINCTRL_PFC_R8A73A4
 	{ "pfc-r8a73a4", (kernel_ulong_t)&r8a73a4_pinmux_info },
 #endif
-- 
1.9.1


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

* [PATCH 2/2] pinctrl: sh-pfc: Remove r8a7790 platform_device_id entry
  2015-03-10 11:14 [PATCH 1/2] pinctrl: sh-pfc: Remove emev2 platform_device_id entry Geert Uytterhoeven
@ 2015-03-10 11:14 ` Geert Uytterhoeven
  2015-03-10 16:24   ` Laurent Pinchart
  2015-03-18  1:19   ` Linus Walleij
  2015-03-10 16:24 ` [PATCH 1/2] pinctrl: sh-pfc: Remove emev2 " Laurent Pinchart
  2015-03-18  1:17 ` Linus Walleij
  2 siblings, 2 replies; 6+ messages in thread
From: Geert Uytterhoeven @ 2015-03-10 11:14 UTC (permalink / raw)
  To: Linus Walleij, Laurent Pinchart; +Cc: linux-gpio, linux-sh, Geert Uytterhoeven

The r8a7790 platform is now DT-only, the driver doesn't need to match
platform devices by name anymore. Remove the corresponding
platform_device_id entry.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
The r8a7790 platform is DT-only since v4.0-rc1.

 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 0e6083fc3563f4a5..52342a22d40a031f 100644
--- a/drivers/pinctrl/sh-pfc/core.c
+++ b/drivers/pinctrl/sh-pfc/core.c
@@ -591,9 +591,6 @@ static const struct platform_device_id sh_pfc_id_table[] = {
 #ifdef CONFIG_PINCTRL_PFC_R8A7779
 	{ "pfc-r8a7779", (kernel_ulong_t)&r8a7779_pinmux_info },
 #endif
-#ifdef CONFIG_PINCTRL_PFC_R8A7790
-	{ "pfc-r8a7790", (kernel_ulong_t)&r8a7790_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] 6+ messages in thread

* Re: [PATCH 2/2] pinctrl: sh-pfc: Remove r8a7790 platform_device_id entry
  2015-03-10 11:14 ` [PATCH 2/2] pinctrl: sh-pfc: Remove r8a7790 " Geert Uytterhoeven
@ 2015-03-10 16:24   ` Laurent Pinchart
  2015-03-18  1:19   ` Linus Walleij
  1 sibling, 0 replies; 6+ messages in thread
From: Laurent Pinchart @ 2015-03-10 16:24 UTC (permalink / raw)
  To: Geert Uytterhoeven; +Cc: Linus Walleij, linux-gpio, linux-sh

Hi Geert,

Thank you for the patch.

On Tuesday 10 March 2015 12:14:40 Geert Uytterhoeven wrote:
> The r8a7790 platform is now DT-only, the driver doesn't need to match
> platform devices by name anymore. Remove the corresponding
> platform_device_id entry.
> 
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>

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

> ---
> The r8a7790 platform is DT-only since v4.0-rc1.
> 
>  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 0e6083fc3563f4a5..52342a22d40a031f 100644
> --- a/drivers/pinctrl/sh-pfc/core.c
> +++ b/drivers/pinctrl/sh-pfc/core.c
> @@ -591,9 +591,6 @@ static const struct platform_device_id sh_pfc_id_table[]
> = { #ifdef CONFIG_PINCTRL_PFC_R8A7779
>  	{ "pfc-r8a7779", (kernel_ulong_t)&r8a7779_pinmux_info },
>  #endif
> -#ifdef CONFIG_PINCTRL_PFC_R8A7790
> -	{ "pfc-r8a7790", (kernel_ulong_t)&r8a7790_pinmux_info },
> -#endif
>  #ifdef CONFIG_PINCTRL_PFC_SH7203
>  	{ "pfc-sh7203", (kernel_ulong_t)&sh7203_pinmux_info },
>  #endif

-- 
Regards,

Laurent Pinchart


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

* Re: [PATCH 1/2] pinctrl: sh-pfc: Remove emev2 platform_device_id entry
  2015-03-10 11:14 [PATCH 1/2] pinctrl: sh-pfc: Remove emev2 platform_device_id entry Geert Uytterhoeven
  2015-03-10 11:14 ` [PATCH 2/2] pinctrl: sh-pfc: Remove r8a7790 " Geert Uytterhoeven
@ 2015-03-10 16:24 ` Laurent Pinchart
  2015-03-18  1:17 ` Linus Walleij
  2 siblings, 0 replies; 6+ messages in thread
From: Laurent Pinchart @ 2015-03-10 16:24 UTC (permalink / raw)
  To: Geert Uytterhoeven; +Cc: Linus Walleij, linux-gpio, linux-sh

Hi Geert,

Thank you for the patch.

On Tuesday 10 March 2015 12:14:39 Geert Uytterhoeven wrote:
> The emev2 platform is now DT-only, the driver doesn't need to match
> platform devices by name anymore. Remove the corresponding
> platform_device_id entry.
> 
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>

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

> ---
> The emev2 platform never had pinctrl support for non-DT.
> 
>  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 656745f545442d58..0e6083fc3563f4a5 100644
> --- a/drivers/pinctrl/sh-pfc/core.c
> +++ b/drivers/pinctrl/sh-pfc/core.c
> @@ -579,9 +579,6 @@ static int sh_pfc_remove(struct platform_device *pdev)
>  }
> 
>  static const struct platform_device_id sh_pfc_id_table[] = {
> -#ifdef CONFIG_PINCTRL_PFC_EMEV2
> -	{ "pfc-emev2", (kernel_ulong_t)&emev2_pinmux_info },
> -#endif
>  #ifdef CONFIG_PINCTRL_PFC_R8A73A4
>  	{ "pfc-r8a73a4", (kernel_ulong_t)&r8a73a4_pinmux_info },
>  #endif

-- 
Regards,

Laurent Pinchart


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

* Re: [PATCH 1/2] pinctrl: sh-pfc: Remove emev2 platform_device_id entry
  2015-03-10 11:14 [PATCH 1/2] pinctrl: sh-pfc: Remove emev2 platform_device_id entry Geert Uytterhoeven
  2015-03-10 11:14 ` [PATCH 2/2] pinctrl: sh-pfc: Remove r8a7790 " Geert Uytterhoeven
  2015-03-10 16:24 ` [PATCH 1/2] pinctrl: sh-pfc: Remove emev2 " Laurent Pinchart
@ 2015-03-18  1:17 ` Linus Walleij
  2 siblings, 0 replies; 6+ messages in thread
From: Linus Walleij @ 2015-03-18  1:17 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: Laurent Pinchart, linux-gpio@vger.kernel.org,
	linux-sh@vger.kernel.org

On Tue, Mar 10, 2015 at 12:14 PM, Geert Uytterhoeven
<geert+renesas@glider.be> wrote:

> The emev2 platform is now DT-only, the driver doesn't need to match
> platform devices by name anymore. Remove the corresponding
> platform_device_id entry.
>
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> ---
> The emev2 platform never had pinctrl support for non-DT.

Patch applied with Laurent's ACK.

Yours,
Linus Walleij

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

* Re: [PATCH 2/2] pinctrl: sh-pfc: Remove r8a7790 platform_device_id entry
  2015-03-10 11:14 ` [PATCH 2/2] pinctrl: sh-pfc: Remove r8a7790 " Geert Uytterhoeven
  2015-03-10 16:24   ` Laurent Pinchart
@ 2015-03-18  1:19   ` Linus Walleij
  1 sibling, 0 replies; 6+ messages in thread
From: Linus Walleij @ 2015-03-18  1:19 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: Laurent Pinchart, linux-gpio@vger.kernel.org,
	linux-sh@vger.kernel.org

On Tue, Mar 10, 2015 at 12:14 PM, Geert Uytterhoeven
<geert+renesas@glider.be> wrote:

> The r8a7790 platform is now DT-only, the driver doesn't need to match
> platform devices by name anymore. Remove the corresponding
> platform_device_id entry.
>
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> ---
> The r8a7790 platform is DT-only since v4.0-rc1.

Patch applied with Laurent's ACK.

Yours,
Linus Walleij

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

end of thread, other threads:[~2015-03-18  1:19 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-10 11:14 [PATCH 1/2] pinctrl: sh-pfc: Remove emev2 platform_device_id entry Geert Uytterhoeven
2015-03-10 11:14 ` [PATCH 2/2] pinctrl: sh-pfc: Remove r8a7790 " Geert Uytterhoeven
2015-03-10 16:24   ` Laurent Pinchart
2015-03-18  1:19   ` Linus Walleij
2015-03-10 16:24 ` [PATCH 1/2] pinctrl: sh-pfc: Remove emev2 " Laurent Pinchart
2015-03-18  1:17 ` 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).