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

Andrew Jeffery andrew at aj.id.au
Fri Jan 20 13:24:24 AEDT 2023



On Fri, 20 Jan 2023, at 09:48, Joel Stanley 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>

:facepalm:

Reviewed-by: Andrew Jeffery <andrew at aj.id.au>


More information about the Linux-aspeed mailing list