projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a1c071
)
arm64: a37xx: pinctrl: Remove unused macro PIN_GRP()
author
Pali Rohár
<pali@kernel.org>
Thu, 4 Aug 2022 10:41:55 +0000
(12:41 +0200)
committer
Stefan 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
patch
|
blob
|
history
diff --git
a/drivers/pinctrl/mvebu/pinctrl-armada-37xx.c
b/drivers/pinctrl/mvebu/pinctrl-armada-37xx.c
index
a5407a1
..
32b49f1
100644
(file)
--- a/
drivers/pinctrl/mvebu/pinctrl-armada-37xx.c
+++ b/
drivers/pinctrl/mvebu/pinctrl-armada-37xx.c
@@
-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, \