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)
commit7b38897081666532b434e067bdfa85789f42fa4e
tree7bff257381c05584ef81371879f986d7abfcef03
parent7488838f23157092038347dd67b1047657a5c4f0
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