]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
gpio: crystalcove: Use -ENOTSUPP consistently
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 5 Apr 2024 16:26:22 +0000 (19:26 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 17 May 2024 10:02:18 +0000 (12:02 +0200)
commitac259d3fa3e5309e62cb07212bb51090b7c7e6ff
treec8aa9742c132906fac256967466418170c369e93
parentd77f56b649fc5e098f03a45e7378ad18a104bf7e
gpio: crystalcove: Use -ENOTSUPP consistently

[ Upstream commit ace0ebe5c98d66889f19e0f30e2518d0c58d0e04 ]

The GPIO library expects the drivers to return -ENOTSUPP in some
cases and not using analogue POSIX code. Make the driver to follow
this.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpio/gpio-crystalcove.c