Skip to content

Commit

Permalink
pinctrl: armada-37xx: Remove unused macro PIN_GRP()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Pali Rohár authored and Linus Walleij committed Aug 22, 2022
1 parent 6b262b3 commit 599e465
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions drivers/pinctrl/mvebu/pinctrl-armada-37xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -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, \
Expand Down

0 comments on commit 599e465

Please sign in to comment.