* [PATCH] ARM: lpc32xx: remove duplicate const on lpc32xx_auxdata_lookup
@ 2016-04-18 1:37 Vladimir Zapolskiy
2016-04-19 18:07 ` Sylvain Lemieux
0 siblings, 1 reply; 2+ messages in thread
From: Vladimir Zapolskiy @ 2016-04-18 1:37 UTC (permalink / raw)
To: linux-arm-kernel
Remove redundant duplicate const, which is found by smatch:
arch/arm/mach-lpc32xx/phy3250.c:162:42: warning: duplicate const
Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
---
arch/arm/mach-lpc32xx/phy3250.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-lpc32xx/phy3250.c b/arch/arm/mach-lpc32xx/phy3250.c
index b2f9e22..1ae7230 100644
--- a/arch/arm/mach-lpc32xx/phy3250.c
+++ b/arch/arm/mach-lpc32xx/phy3250.c
@@ -159,7 +159,7 @@ static struct lpc32xx_mlc_platform_data lpc32xx_mlc_data = {
.dma_filter = pl08x_filter_id,
};
-static const struct of_dev_auxdata const lpc32xx_auxdata_lookup[] __initconst = {
+static const struct of_dev_auxdata lpc32xx_auxdata_lookup[] __initconst = {
OF_DEV_AUXDATA("arm,pl022", 0x20084000, "dev:ssp0", NULL),
OF_DEV_AUXDATA("arm,pl022", 0x2008C000, "dev:ssp1", NULL),
OF_DEV_AUXDATA("arm,pl110", 0x31040000, "dev:clcd", &lpc32xx_clcd_data),
--
2.1.4
^ permalink raw reply related [flat|nested] 2+ messages in thread* [PATCH] ARM: lpc32xx: remove duplicate const on lpc32xx_auxdata_lookup
2016-04-18 1:37 [PATCH] ARM: lpc32xx: remove duplicate const on lpc32xx_auxdata_lookup Vladimir Zapolskiy
@ 2016-04-19 18:07 ` Sylvain Lemieux
0 siblings, 0 replies; 2+ messages in thread
From: Sylvain Lemieux @ 2016-04-19 18:07 UTC (permalink / raw)
To: linux-arm-kernel
On Mon, 2016-04-18 at 04:37 +0300, Vladimir Zapolskiy wrote:
> Remove redundant duplicate const, which is found by smatch:
>
> arch/arm/mach-lpc32xx/phy3250.c:162:42: warning: duplicate const
>
> Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
Acked-by: Sylvain Lemieux <slemieux.tyco@gmail.com>
> ---
> arch/arm/mach-lpc32xx/phy3250.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm/mach-lpc32xx/phy3250.c b/arch/arm/mach-lpc32xx/phy3250.c
> index b2f9e22..1ae7230 100644
> --- a/arch/arm/mach-lpc32xx/phy3250.c
> +++ b/arch/arm/mach-lpc32xx/phy3250.c
> @@ -159,7 +159,7 @@ static struct lpc32xx_mlc_platform_data lpc32xx_mlc_data = {
> .dma_filter = pl08x_filter_id,
> };
>
> -static const struct of_dev_auxdata const lpc32xx_auxdata_lookup[] __initconst = {
> +static const struct of_dev_auxdata lpc32xx_auxdata_lookup[] __initconst = {
> OF_DEV_AUXDATA("arm,pl022", 0x20084000, "dev:ssp0", NULL),
> OF_DEV_AUXDATA("arm,pl022", 0x2008C000, "dev:ssp1", NULL),
> OF_DEV_AUXDATA("arm,pl110", 0x31040000, "dev:clcd", &lpc32xx_clcd_data),
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-04-19 18:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-18 1:37 [PATCH] ARM: lpc32xx: remove duplicate const on lpc32xx_auxdata_lookup Vladimir Zapolskiy
2016-04-19 18:07 ` Sylvain Lemieux
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).