]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
pinctrl: airoha: convert PHY LED GPIO to macro
authorChristian Marangi <ansuelsmth@gmail.com>
Thu, 6 Nov 2025 23:57:05 +0000 (00:57 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 10 Nov 2025 23:40:49 +0000 (00:40 +0100)
commit579839c9548cf2a85e873ad787bc2fa6610bf8ab
treeb4d50ca7249ffbe6bb390416d936a9bc229bd93d
parent4043b0c45f8555a079bdac69a19ed08695a47a7b
pinctrl: airoha: convert PHY LED GPIO to macro

PHY LED GPIO pinctrl struct definition is very similar across the
different 4 PHY and 2 LED and it can be generelized to a macro.

To reduce code size, convert them to a common macro.

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