linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] pinctrl: actions: remove duplicate dsi entry
@ 2019-12-18 10:20 Ben Dooks (Codethink)
  2020-01-06 23:23 ` Linus Walleij
  0 siblings, 1 reply; 2+ messages in thread
From: Ben Dooks (Codethink) @ 2019-12-18 10:20 UTC (permalink / raw)
  To: ben.dooks
  Cc: Andreas Färber, Manivannan Sadhasivam, Linus Walleij,
	linux-arm-kernel, linux-gpio

The dsi entry is defined identically twice, so remove
the second one to remove the sparse warning:

drivers/pinctrl/actions/pinctrl-s700.c:1581:10: warning: Initializer entry defined twice
drivers/pinctrl/actions/pinctrl-s700.c:1586:10:   also defined here

Signed-off-by: Ben Dooks (Codethink) <ben.dooks@codethink.co.uk>
---
Cc: "Andreas Färber" <afaerber@suse.de>
Cc: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-gpio@vger.kernel.org
---
 drivers/pinctrl/actions/pinctrl-s700.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/pinctrl/actions/pinctrl-s700.c b/drivers/pinctrl/actions/pinctrl-s700.c
index 8b8121e35edb..771d6fd50b45 100644
--- a/drivers/pinctrl/actions/pinctrl-s700.c
+++ b/drivers/pinctrl/actions/pinctrl-s700.c
@@ -1583,7 +1583,6 @@ static const struct owl_pinmux_func s700_functions[] = {
 	[S700_MUX_USB30] = FUNCTION(usb30),
 	[S700_MUX_CLKO_25M] = FUNCTION(clko_25m),
 	[S700_MUX_MIPI_CSI] = FUNCTION(mipi_csi),
-	[S700_MUX_DSI] = FUNCTION(dsi),
 	[S700_MUX_NAND] = FUNCTION(nand),
 	[S700_MUX_SPDIF] = FUNCTION(spdif),
 	[S700_MUX_SIRQ0] = FUNCTION(sirq0),
-- 
2.24.0


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

* Re: [PATCH] pinctrl: actions: remove duplicate dsi entry
  2019-12-18 10:20 [PATCH] pinctrl: actions: remove duplicate dsi entry Ben Dooks (Codethink)
@ 2020-01-06 23:23 ` Linus Walleij
  0 siblings, 0 replies; 2+ messages in thread
From: Linus Walleij @ 2020-01-06 23:23 UTC (permalink / raw)
  To: Ben Dooks (Codethink)
  Cc: Andreas Färber, Manivannan Sadhasivam, Linux ARM,
	open list:GPIO SUBSYSTEM

On Wed, Dec 18, 2019 at 11:20 AM Ben Dooks (Codethink)
<ben.dooks@codethink.co.uk> wrote:

> The dsi entry is defined identically twice, so remove
> the second one to remove the sparse warning:
>
> drivers/pinctrl/actions/pinctrl-s700.c:1581:10: warning: Initializer entry defined twice
> drivers/pinctrl/actions/pinctrl-s700.c:1586:10:   also defined here
>
> Signed-off-by: Ben Dooks (Codethink) <ben.dooks@codethink.co.uk>

Patch applied.

Yours,
Linus Walleij

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

end of thread, other threads:[~2020-01-06 23:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-12-18 10:20 [PATCH] pinctrl: actions: remove duplicate dsi entry Ben Dooks (Codethink)
2020-01-06 23:23 ` 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).