* [PATCH 1/2] pinctrl: sh-pfc: r8a73a4: Remove obsolete multi-platform check
@ 2015-04-28 10:15 Geert Uytterhoeven
2015-04-28 10:15 ` [PATCH 2/2] pinctrl: sh-pfc: Remove r8a73a4 platform_device_id entry Geert Uytterhoeven
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: Geert Uytterhoeven @ 2015-04-28 10:15 UTC (permalink / raw)
To: Laurent Pinchart, Linus Walleij; +Cc: linux-sh, linux-gpio, Geert Uytterhoeven
As of commit 9d07d414d4c33d86 ("ARM: shmobile: r8a73a4: ape6evm: Remove
legacy platform"), r8a73a4 is only supported in generic ARM
multi-platform builds. Hence CONFIG_ARCH_MULTIPLATFORM is always set,
and the check can be removed.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
drivers/pinctrl/sh-pfc/pfc-r8a73a4.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/drivers/pinctrl/sh-pfc/pfc-r8a73a4.c b/drivers/pinctrl/sh-pfc/pfc-r8a73a4.c
index 280a56f977860272..ba18d2e65e674563 100644
--- a/drivers/pinctrl/sh-pfc/pfc-r8a73a4.c
+++ b/drivers/pinctrl/sh-pfc/pfc-r8a73a4.c
@@ -21,10 +21,6 @@
#include <linux/kernel.h>
#include <linux/pinctrl/pinconf-generic.h>
-#ifndef CONFIG_ARCH_MULTIPLATFORM
-#include <mach/irqs.h>
-#endif
-
#include "core.h"
#include "sh_pfc.h"
--
1.9.1
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH 2/2] pinctrl: sh-pfc: Remove r8a73a4 platform_device_id entry
2015-04-28 10:15 [PATCH 1/2] pinctrl: sh-pfc: r8a73a4: Remove obsolete multi-platform check Geert Uytterhoeven
@ 2015-04-28 10:15 ` Geert Uytterhoeven
2015-04-29 11:53 ` Laurent Pinchart
` (2 more replies)
2015-04-29 11:53 ` [PATCH 1/2] pinctrl: sh-pfc: r8a73a4: Remove obsolete multi-platform check Laurent Pinchart
2015-05-12 10:29 ` Linus Walleij
2 siblings, 3 replies; 7+ messages in thread
From: Geert Uytterhoeven @ 2015-04-28 10:15 UTC (permalink / raw)
To: Laurent Pinchart, Linus Walleij; +Cc: linux-sh, linux-gpio, Geert Uytterhoeven
As of commit 9d07d414d4c33d86 ("ARM: shmobile: r8a73a4: ape6evm: Remove
legacy platform"), r8a73a4 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 7b2c9495c3832410..287a3d048a5e1cf9 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_R8A73A4
- { "pfc-r8a73a4", (kernel_ulong_t)&r8a73a4_pinmux_info },
-#endif
#ifdef CONFIG_PINCTRL_PFC_R8A7740
{ "pfc-r8a7740", (kernel_ulong_t)&r8a7740_pinmux_info },
#endif
--
1.9.1
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH 2/2] pinctrl: sh-pfc: Remove r8a73a4 platform_device_id entry
2015-04-28 10:15 ` [PATCH 2/2] pinctrl: sh-pfc: Remove r8a73a4 platform_device_id entry Geert Uytterhoeven
@ 2015-04-29 11:53 ` Laurent Pinchart
2015-04-30 5:50 ` Simon Horman
2015-05-12 7:28 ` Linus Walleij
2 siblings, 0 replies; 7+ messages in thread
From: Laurent Pinchart @ 2015-04-29 11:53 UTC (permalink / raw)
To: Geert Uytterhoeven; +Cc: Linus Walleij, linux-sh, linux-gpio
Hi Geert,
Thank you for the patch.
On Tuesday 28 April 2015 12:15:07 Geert Uytterhoeven wrote:
> As of commit 9d07d414d4c33d86 ("ARM: shmobile: r8a73a4: ape6evm: Remove
> legacy platform"), r8a73a4 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>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
> ---
> 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 7b2c9495c3832410..287a3d048a5e1cf9 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_R8A73A4
> - { "pfc-r8a73a4", (kernel_ulong_t)&r8a73a4_pinmux_info },
> -#endif
> #ifdef CONFIG_PINCTRL_PFC_R8A7740
> { "pfc-r8a7740", (kernel_ulong_t)&r8a7740_pinmux_info },
> #endif
--
Regards,
Laurent Pinchart
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 2/2] pinctrl: sh-pfc: Remove r8a73a4 platform_device_id entry
2015-04-28 10:15 ` [PATCH 2/2] pinctrl: sh-pfc: Remove r8a73a4 platform_device_id entry Geert Uytterhoeven
2015-04-29 11:53 ` Laurent Pinchart
@ 2015-04-30 5:50 ` Simon Horman
2015-05-12 7:28 ` Linus Walleij
2 siblings, 0 replies; 7+ messages in thread
From: Simon Horman @ 2015-04-30 5:50 UTC (permalink / raw)
To: Geert Uytterhoeven; +Cc: Laurent Pinchart, Linus Walleij, linux-sh, linux-gpio
On Tue, Apr 28, 2015 at 12:15:07PM +0200, Geert Uytterhoeven wrote:
> As of commit 9d07d414d4c33d86 ("ARM: shmobile: r8a73a4: ape6evm: Remove
> legacy platform"), r8a73a4 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>
Acked-by: Simon Horman <horms+renesas@verge.net.au>
> ---
> 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 7b2c9495c3832410..287a3d048a5e1cf9 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_R8A73A4
> - { "pfc-r8a73a4", (kernel_ulong_t)&r8a73a4_pinmux_info },
> -#endif
> #ifdef CONFIG_PINCTRL_PFC_R8A7740
> { "pfc-r8a7740", (kernel_ulong_t)&r8a7740_pinmux_info },
> #endif
> --
> 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] 7+ messages in thread
* Re: [PATCH 2/2] pinctrl: sh-pfc: Remove r8a73a4 platform_device_id entry
2015-04-28 10:15 ` [PATCH 2/2] pinctrl: sh-pfc: Remove r8a73a4 platform_device_id entry Geert Uytterhoeven
2015-04-29 11:53 ` Laurent Pinchart
2015-04-30 5:50 ` Simon Horman
@ 2015-05-12 7:28 ` Linus Walleij
2 siblings, 0 replies; 7+ messages in thread
From: Linus Walleij @ 2015-05-12 7:28 UTC (permalink / raw)
To: Geert Uytterhoeven
Cc: Laurent Pinchart, linux-sh@vger.kernel.org,
linux-gpio@vger.kernel.org
On Tue, Apr 28, 2015 at 12:15 PM, Geert Uytterhoeven
<geert+renesas@glider.be> wrote:
> As of commit 9d07d414d4c33d86 ("ARM: shmobile: r8a73a4: ape6evm: Remove
> legacy platform"), r8a73a4 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>
Patch applied with all ACKs.
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 1/2] pinctrl: sh-pfc: r8a73a4: Remove obsolete multi-platform check
2015-04-28 10:15 [PATCH 1/2] pinctrl: sh-pfc: r8a73a4: Remove obsolete multi-platform check Geert Uytterhoeven
2015-04-28 10:15 ` [PATCH 2/2] pinctrl: sh-pfc: Remove r8a73a4 platform_device_id entry Geert Uytterhoeven
@ 2015-04-29 11:53 ` Laurent Pinchart
2015-05-12 10:29 ` Linus Walleij
2 siblings, 0 replies; 7+ messages in thread
From: Laurent Pinchart @ 2015-04-29 11:53 UTC (permalink / raw)
To: Geert Uytterhoeven; +Cc: Linus Walleij, linux-sh, linux-gpio
Hi Geert,
Thank you for the patch.
On Tuesday 28 April 2015 12:15:06 Geert Uytterhoeven wrote:
> As of commit 9d07d414d4c33d86 ("ARM: shmobile: r8a73a4: ape6evm: Remove
> legacy platform"), r8a73a4 is only supported in generic ARM
> multi-platform builds. Hence CONFIG_ARCH_MULTIPLATFORM is always set,
> and the check can be removed.
>
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
> ---
> drivers/pinctrl/sh-pfc/pfc-r8a73a4.c | 4 ----
> 1 file changed, 4 deletions(-)
>
> diff --git a/drivers/pinctrl/sh-pfc/pfc-r8a73a4.c
> b/drivers/pinctrl/sh-pfc/pfc-r8a73a4.c index
> 280a56f977860272..ba18d2e65e674563 100644
> --- a/drivers/pinctrl/sh-pfc/pfc-r8a73a4.c
> +++ b/drivers/pinctrl/sh-pfc/pfc-r8a73a4.c
> @@ -21,10 +21,6 @@
> #include <linux/kernel.h>
> #include <linux/pinctrl/pinconf-generic.h>
>
> -#ifndef CONFIG_ARCH_MULTIPLATFORM
> -#include <mach/irqs.h>
> -#endif
> -
> #include "core.h"
> #include "sh_pfc.h"
--
Regards,
Laurent Pinchart
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 1/2] pinctrl: sh-pfc: r8a73a4: Remove obsolete multi-platform check
2015-04-28 10:15 [PATCH 1/2] pinctrl: sh-pfc: r8a73a4: Remove obsolete multi-platform check Geert Uytterhoeven
2015-04-28 10:15 ` [PATCH 2/2] pinctrl: sh-pfc: Remove r8a73a4 platform_device_id entry Geert Uytterhoeven
2015-04-29 11:53 ` [PATCH 1/2] pinctrl: sh-pfc: r8a73a4: Remove obsolete multi-platform check Laurent Pinchart
@ 2015-05-12 10:29 ` Linus Walleij
2 siblings, 0 replies; 7+ messages in thread
From: Linus Walleij @ 2015-05-12 10:29 UTC (permalink / raw)
To: Geert Uytterhoeven
Cc: Laurent Pinchart, linux-sh@vger.kernel.org,
linux-gpio@vger.kernel.org
On Tue, Apr 28, 2015 at 12:15 PM, Geert Uytterhoeven
<geert+renesas@glider.be> wrote:
> As of commit 9d07d414d4c33d86 ("ARM: shmobile: r8a73a4: ape6evm: Remove
> legacy platform"), r8a73a4 is only supported in generic ARM
> multi-platform builds. Hence CONFIG_ARCH_MULTIPLATFORM is always set,
> and the check can be removed.
>
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Patch applied.
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2015-05-12 10:29 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-28 10:15 [PATCH 1/2] pinctrl: sh-pfc: r8a73a4: Remove obsolete multi-platform check Geert Uytterhoeven
2015-04-28 10:15 ` [PATCH 2/2] pinctrl: sh-pfc: Remove r8a73a4 platform_device_id entry Geert Uytterhoeven
2015-04-29 11:53 ` Laurent Pinchart
2015-04-30 5:50 ` Simon Horman
2015-05-12 7:28 ` Linus Walleij
2015-04-29 11:53 ` [PATCH 1/2] pinctrl: sh-pfc: r8a73a4: Remove obsolete multi-platform check Laurent Pinchart
2015-05-12 10:29 ` 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).