]> git.dujemihanovic.xyz Git - u-boot.git/commit
pinmux: generic: Use ENOENT instead of ENOSYS
authorSean Anderson <seanga2@gmail.com>
Sat, 10 Aug 2024 13:59:37 +0000 (09:59 -0400)
committerTom Rini <trini@konsulko.com>
Thu, 15 Aug 2024 20:26:59 +0000 (14:26 -0600)
commit6a087c01826c63a510002ef64ded8d7abd70afa0
tree2c481e514c0159b0abae505bcfe27bdd436314b7
parent2a521d01e62c012f627d426a4c43082b6402928d
pinmux: generic: Use ENOENT instead of ENOSYS

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@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/pinctrl/pinctrl-generic.c