diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2024-04-18 10:18:03 -0700 | 
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2024-04-18 10:18:03 -0700 | 
| commit | 360a348fd7fe72ec42a80d025e6fc81cda19f48e (patch) | |
| tree | 1de88f41d7cfbec03ff716d8e07c83e3507e90a1 /drivers/gpio/gpio-wcove.c | |
| parent | e4add02086a61247e9ff65a4600dd84a31aacc92 (diff) | |
| parent | 69ffed4b62523bbc85511f150500329d28aba356 (diff) | |
Merge tag 'gpio-fixes-for-v6.9-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux
Pull gpio fixes from Bartosz Golaszewski:
 - use -ENOTSUPP consistently in Intel GPIO drivers
 - don't include dt-bindings headers in gpio-swnode code
 - add missing of device table to gpio-lpc32xx and fix autoloading
* tag 'gpio-fixes-for-v6.9-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux:
  gpiolib: swnode: Remove wrong header inclusion
  gpio: lpc32xx: fix module autoloading
  gpio: crystalcove: Use -ENOTSUPP consistently
  gpio: wcove: Use -ENOTSUPP consistently
Diffstat (limited to 'drivers/gpio/gpio-wcove.c')
| -rw-r--r-- | drivers/gpio/gpio-wcove.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-wcove.c b/drivers/gpio/gpio-wcove.c index c18b6b47384f..94ca9d03c094 100644 --- a/drivers/gpio/gpio-wcove.c +++ b/drivers/gpio/gpio-wcove.c @@ -104,7 +104,7 @@ static inline int to_reg(int gpio, enum ctrl_register type)  	unsigned int reg = type == CTRL_IN ? GPIO_IN_CTRL_BASE : GPIO_OUT_CTRL_BASE;  	if (gpio >= WCOVE_GPIO_NUM) -		return -EOPNOTSUPP; +		return -ENOTSUPP;  	return reg + gpio;  }  | 
