gpio: crystalcove: Use -ENOTSUPP consistently
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 5 Apr 2024 16:26:22 +0000 (19:26 +0300)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 5 Apr 2024 17:12:39 +0000 (20:12 +0300)
commitace0ebe5c98d66889f19e0f30e2518d0c58d0e04
tree1ba7229a68ce0ce6df2e4308161705d7120fe980
parent0c3b532ad3fbf82884a2e7e83e37c7dcdd4d1d99
gpio: crystalcove: Use -ENOTSUPP consistently

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>
drivers/gpio/gpio-crystalcove.c