]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
pinctrl: pinmux: open-code PINCTRL_FUNCTION_DESC()
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Wed, 9 Jul 2025 14:38:57 +0000 (16:38 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Sat, 19 Jul 2025 15:59:35 +0000 (17:59 +0200)
commitdd47155a0e6f4ad1fe9ae0a00282f324153bb3a8
treeb7ba2e4174461168851f153f766eb526f171e28a
parent63149542dcf4468ed15469035740a937cf9ff88a
pinctrl: pinmux: open-code PINCTRL_FUNCTION_DESC()

This macro is only used in one place and pin function descriptors should
only be created by pinmux core so there's no point in exposing it to
other pinctrl users. Remove the macro and hand-code its functionality.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Reviewed-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/20250709-pinctrl-gpio-pinfuncs-v2-1-b6135149c0d9@linaro.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinmux.c
drivers/pinctrl/pinmux.h