]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm64: a37xx: pinctrl: Remove unused macro PIN_GRP()
authorPali Rohár <pali@kernel.org>
Thu, 4 Aug 2022 10:41:55 +0000 (12:41 +0200)
committerStefan Roese <sr@denx.de>
Tue, 9 Aug 2022 06:58:27 +0000 (08:58 +0200)
Macro PIN_GRP() is not used, remove it.

Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Stefan Roese <sr@denx.de>
drivers/pinctrl/mvebu/pinctrl-armada-37xx.c

index a5407a16ee3658e1a8861e797fddc1e2db07f8ab..32b49f167c6693966887f4e1a8f39f8da5ed6364 100644 (file)
@@ -99,16 +99,6 @@ struct armada_37xx_pinctrl {
        unsigned int                    nfuncs;
 };
 
-#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,                  \