[PATCH v4 05/12] pinctrl: stm32: Rework stm32_pconf_parse_conf()

Linus Walleij linus.walleij at linaro.org
Mon Oct 27 15:12:09 PDT 2025


On Thu, Oct 23, 2025 at 3:27 PM Antonio Borneo
<antonio.borneo at foss.st.com> wrote:

> Reduce the number of parameters of the function by moving inside
> the function the decoding of the field 'config'.
>
> While there:
> - change the type of 'param' to 'unsigned int' to handle the extra
>   values not in 'enum pin_config_param';
> - change the type of 'arg' to 'u32' to avoid additional conversions
>   and align to 'u32' the corresponding param of __stm32_gpio_set().
>
> Signed-off-by: Antonio Borneo <antonio.borneo at foss.st.com>

Patch applied!

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list