pinctrl: mxs: avoid defines prefixed with CONFIG
authorLukas Bulwahn <lukas.bulwahn@gmail.com>
Thu, 15 Dec 2022 09:21:28 +0000 (10:21 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 29 Dec 2022 01:05:16 +0000 (02:05 +0100)
commita3a7482a0dbce502331caaa9aa8346e72e84b38d
treef31a48aa058115cec21dbc368d2691643956b16b
parentf3cd465bbd15960f30668c7b4a2ac18a0708bc39
pinctrl: mxs: avoid defines prefixed with CONFIG

Defines prefixed with "CONFIG" should be limited to proper Kconfig options,
that are introduced in a Kconfig file.

Here, expressions to convert pin configurations to booleans for pull-up,
voltage and mA are macro definitions that begin with "CONFIG".

To avoid defines prefixed with "CONFIG", rename these defines to begin with
"PIN_CONFIG" instead.

No functional change.

Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
Link: https://lore.kernel.org/r/20221215092128.3954-1-lukas.bulwahn@gmail.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/freescale/pinctrl-mxs.c
drivers/pinctrl/freescale/pinctrl-mxs.h