Skip to contentSkip to conversation

pinctrl: actions: remove duplicate dsi entry

PATCH In review Ben Dooks (Codethink) 2 participants 2 messages Dec 18, 2019 – Jan 6, 2020

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 pinctrl: actions: remove duplicate dsi entry

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

---
Cc: "Andreas Färber" <[email protected]>
Cc: Manivannan Sadhasivam <[email protected]>
Cc: Linus Walleij <[email protected]>
Cc: [email protected]
Cc: [email protected]

---
 drivers/pinctrl/actions/pinctrl-s700.c | 1 -
 1 file changed, 1 deletion(-)
drivers/pinctrl/actions/pinctrl-s700.c +0 -1
index 8b8121e35edb..771d6fd50b45 100644
@@ -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),
Signature · 1 line
2.24.0
#1 lore raw
Quoted 7 lines · Ben Dooks (Codethink)

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

Patch applied.

Yours,
Linus Walleij