]> 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:14:49 +0000 (12:14 +0200)
commit106117597ea9cd45a7b4810e5f58912d78ee7e71
treebc6a79e3d61898fd3b6d6419a2f6765162f34aef
parentd1280ac53f95f00b6a6648fb314002e948987727
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