pinctrl: armada-37xx: Remove unused macro PIN_GRP()
authorPali Rohár <pali@kernel.org>
Fri, 5 Aug 2022 12:22:02 +0000 (14:22 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 22 Aug 2022 08:46:25 +0000 (10:46 +0200)
Macro PIN_GRP() is not used, remove it.

Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://lore.kernel.org/r/20220805122202.23174-4-pali@kernel.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/mvebu/pinctrl-armada-37xx.c

index 7f5665e..261b468 100644 (file)
@@ -112,16 +112,6 @@ struct armada_37xx_pinctrl {
        struct armada_37xx_pm_state     pm;
 };
 
-#define PIN_GRP(_name, _start, _nr, _mask, _func1, _func2)     \
-       {                                       \
-               .name = _name,                  \
-               .start_pin = _start,            \
-               .npins = _nr,                   \
-               .reg_mask = _mask,              \
-               .val = {0, _mask},              \
-               .funcs = {_func1, _func2}       \
-       }
-
 #define PIN_GRP_GPIO_0(_name, _start, _nr)     \
        {                                       \
                .name = _name,                  \