]> Gentwo Git Trees - linux/.git/commit
pinctrl: ma35: Use int type to store negative error codes
authorQianfeng Rong <rongqianfeng@vivo.com>
Sun, 31 Aug 2025 08:49:57 +0000 (16:49 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 8 Sep 2025 12:21:06 +0000 (14:21 +0200)
commit0fd0f79aec237dd0a18ffdd63fcbf0015c7a3012
tree39d439946944c8a3597959daaefbe61f5b614480
parentdecd50c19f2ccce3cbe34f6f59d04b252119329d
pinctrl: ma35: Use int type to store negative error codes

Change the 'ret' variable in ma35_pinctrl_parse_functions() from u32 to
int, as it needs to store either negative error codes or zero returned
by ma35_pinctrl_parse_groups().

No effect on runtime.

Signed-off-by: Qianfeng Rong <rongqianfeng@vivo.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/nuvoton/pinctrl-ma35.c