]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
pinctrl: actions: remove duplicate dsi entry
authorBen Dooks (Codethink) <ben.dooks@codethink.co.uk>
Wed, 18 Dec 2019 10:20:13 +0000 (10:20 +0000)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 6 Jan 2020 23:22:57 +0000 (00:22 +0100)
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>
Link: https://lore.kernel.org/r/20191218102013.2465038-1-ben.dooks@codethink.co.uk
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/actions/pinctrl-s700.c

index 8b8121e35edb63c4f842527b9431be060d1d7be3..771d6fd50b4599b69af021f8b626df44da0e8c84 100644 (file)
@@ -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),