History

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

Linus Torvalds committed 2 years ago

Commit 360a3482 parents e4add02 69ffed44 files · +3 −3Browse files

Unified · Split

4 files
  1. drivers/gpio/gpio-crystalcove.c +1 −1
  2. drivers/gpio/gpio-lpc32xx.c +1 −0
  3. drivers/gpio/gpio-wcove.c +1 −1
  4. include/linux/gpio/property.h +0 −1
drivers/gpio/gpio-crystalcove.c+1−1
@@ -92,7 +92,7 @@ static inline int to_reg(int gpio, enum ctrl_register reg_type) · 91 unmodified lines
9292 case 0x5e:
9393 return GPIOPANELCTL;
9494 default:
95− return -EOPNOTSUPP;
95+ return -ENOTSUPP;
9696 }
9797 }
9898
drivers/gpio/gpio-lpc32xx.c+1−0
@@ -529,6 +529,7 @@ static const struct of_device_id lpc32xx_gpio_of_match[] = { · 528 unmodified lines
529529 { .compatible = "nxp,lpc3220-gpio", },
530530 { },
531531 };
532+MODULE_DEVICE_TABLE(of, lpc32xx_gpio_of_match);
532533
533534 static struct platform_driver lpc32xx_gpio_driver = {
534535 .driver = {
drivers/gpio/gpio-wcove.c+1−1
@@ -104,7 +104,7 @@ static inline int to_reg(int gpio, enum ctrl_register type) · 103 unmodified lines
104104 unsigned int reg = type == CTRL_IN ? GPIO_IN_CTRL_BASE : GPIO_OUT_CTRL_BASE;
105105
106106 if (gpio >= WCOVE_GPIO_NUM)
107− return -EOPNOTSUPP;
107+ return -ENOTSUPP;
108108
109109 return reg + gpio;
110110 }
include/linux/gpio/property.h+0−1
@@ -2,7 +2,6 @@ · 1 unmodified line
22 #ifndef __LINUX_GPIO_PROPERTY_H
33 #define __LINUX_GPIO_PROPERTY_H
44
5−#include <dt-bindings/gpio/gpio.h> /* for GPIO_* flags */
65 #include <linux/property.h>
76
87 #define PROPERTY_ENTRY_GPIO(_name_, _chip_node_, _idx_, _flags_) \

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t