pinctrl: actions: remove duplicate dsi entry
Subsystems (3)
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 twicedrivers/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
@@ -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
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 twicedrivers/pinctrl/actions/pinctrl-s700.c:1586:10: also defined hereSigned-off-by Ben Dooks (Codethink) <[email protected]>
Patch applied.
Yours,
Linus Walleij