diff mbox series

pinctrl: actions: remove duplicate dsi entry

Message ID 20191218102013.2465038-1-ben.dooks@codethink.co.uk (mailing list archive)
State Mainlined
Commit 4b4e41f35cc700e328e693f0c18b24424ab47ff0
Headers show
Series pinctrl: actions: remove duplicate dsi entry | expand

Commit Message

Ben Dooks Dec. 18, 2019, 10:20 a.m. UTC
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(-)

Comments

Linus Walleij Jan. 6, 2020, 11:23 p.m. UTC | #1
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
diff mbox series

Patch

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