Commit ace0ebe5 authored by Andy Shevchenko's avatar Andy Shevchenko
Browse files

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: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
parent 0c3b532a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -92,7 +92,7 @@ static inline int to_reg(int gpio, enum ctrl_register reg_type)
		case 0x5e:
			return GPIOPANELCTL;
		default:
			return -EOPNOTSUPP;
			return -ENOTSUPP;
		}
	}