gpio: wcove: Use -ENOTSUPP consistently
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 5 Apr 2024 16:25:21 +0000 (19:25 +0300)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 5 Apr 2024 17:12:03 +0000 (20:12 +0300)
commit0c3b532ad3fbf82884a2e7e83e37c7dcdd4d1d99
tree70d6682e43968edef38b2b1f258b3f03dcd544a1
parent4cece764965020c22cff7665b18a012006359095
gpio: wcove: 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.

Reviewed-by: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/gpio/gpio-wcove.c