]> git.baikalelectronics.ru Git - kernel.git/commit
pinctrl: aspeed: Rename pin declaration macros
authorAndrew Jeffery <andrew@aj.id.au>
Mon, 29 Jul 2019 05:56:00 +0000 (15:26 +0930)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 5 Aug 2019 10:39:27 +0000 (12:39 +0200)
commite2e3e25274cb864cc76e3ef18d29f176cb5409cb
tree7bff257381c05584ef81371879f986d7abfcef03
parent26727fa64f2fdf0b5276f20170b8bd5ade9aff12
pinctrl: aspeed: Rename pin declaration macros

Rename macros as follows:

* s/SS_PIN_DECL()/PIN_DECL_1()/
* s/MS_PIN_DECL()/PIN_DECL_2()/
* s/MS_PIN_DECL_()/PIN_DECL_()/

This is in preparation for adding PIN_DECL_3(). We could clean this up
with e.g. CPPMAGIC_MAP() from ccan, but that might be a bridge too far
given how much of a macro jungle we already have.

Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Link: https://lore.kernel.org/r/20190729055604.13239-3-andrew@aj.id.au
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/aspeed/pinctrl-aspeed-g4.c
drivers/pinctrl/aspeed/pinctrl-aspeed-g5.c
drivers/pinctrl/aspeed/pinmux-aspeed.h