[PATCH] pinctrl: aspeed: Fix confusing types in return value

Linus Walleij linus.walleij at linaro.org
Fri Jan 27 23:33:06 AEDT 2023


On Fri, Jan 20, 2023 at 12:19 AM Joel Stanley <joel at jms.id.au> wrote:

> The function signature is int, but we return a bool. Instead return a
> negative errno as the kerneldoc suggests.
>
> Fixes: 4d3d0e4272d8 ("pinctrl: Add core support for Aspeed SoCs")
> Signed-off-by: Joel Stanley <joel at jms.id.au>

Patch applied for fixes!

Yours,
Linus Walleij


More information about the Linux-aspeed mailing list