[PATCH] pinmux: generic: Use ENOENT instead of ENOSYS
Simon Glass
sjg at chromium.org
Sun Aug 11 16:50:04 CEST 2024
On Sat, 10 Aug 2024 at 07:59, Sean Anderson <seanga2 at gmail.com> wrote:
>
> ENOSYS should only be used when a subsystem is completely absent.
> Convert its use in pinctrl-generic to ENOENT, which better reflects the
> error condition (that a function/group/pin is missing).
>
> Signed-off-by: Sean Anderson <seanga2 at gmail.com>
> ---
>
> drivers/pinctrl/pinctrl-generic.c | 26 +++++++++++++-------------
> 1 file changed, 13 insertions(+), 13 deletions(-)
>
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list