]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
pinctrl: airoha: convert PWM GPIO to macro
authorChristian Marangi <ansuelsmth@gmail.com>
Thu, 6 Nov 2025 23:57:06 +0000 (00:57 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 10 Nov 2025 23:40:49 +0000 (00:40 +0100)
commit1552ad5d649cff9d170e5bc1d13ab1487333b4b7
tree35ff6d23239b0dbc711fc3eaec2cc6c534e5c37d
parent579839c9548cf2a85e873ad787bc2fa6610bf8ab
pinctrl: airoha: convert PWM GPIO to macro

The PWM GPIO struct definition follow the same pattern for every GPIO
pin hence it can be converted to a macro.

Create 2 macro one for normal mux and one for ext mux and convert all
the entry to these new macro to reduce code size.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/mediatek/pinctrl-airoha.c