diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2025-08-09 08:15:43 +0300 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2025-08-09 08:15:43 +0300 |
| commit | 0227b49b50276657243e54f5609e65c4f0eaaf4d (patch) | |
| tree | 76280bdca51c2e021eea5ad30d0fbf5e8db07264 /include/linux/gpio/generic.h | |
| parent | c93913c70809898aa5e450e4aad0b99750d9f082 (diff) | |
| parent | d9d87d90cc0b10cd56ae353f50b11417e7d21712 (diff) | |
| download | linux-next-0227b49b50276657243e54f5609e65c4f0eaaf4d.tar.gz linux-next-0227b49b50276657243e54f5609e65c4f0eaaf4d.zip | |
Merge tag 'gpio-updates-for-v6.17-rc1-part2' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux
Pull gpio updates from Bartosz Golaszewski:
"As discussed: there's a small commit that removes the legacy GPIO line
value setter callbacks as they're no longer used and a big, treewide
commit that renames the new ones to the old names across all GPIO
drivers at once.
While at it: there are also two fixes that I picked up over the course
of the merge window:
- remove unused, legacy GPIO line value setters from struct gpio_chip
- rename the new set callbacks back to the original names treewide
- fix interrupt handling in gpio-mlxbf2
- revert a buggy immutable irqchip conversion"
* tag 'gpio-updates-for-v6.17-rc1-part2' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux:
treewide: rename GPIO set callbacks back to their original names
gpio: remove legacy GPIO line value setter callbacks
gpio: mlxbf2: use platform_get_irq_optional()
Revert "gpio: pxa: Make irq_chip immutable"
Diffstat (limited to 'include/linux/gpio/generic.h')
| -rw-r--r-- | include/linux/gpio/generic.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/gpio/generic.h b/include/linux/gpio/generic.h index b511acd58ab0..f3a8db4598bb 100644 --- a/include/linux/gpio/generic.h +++ b/include/linux/gpio/generic.h @@ -88,10 +88,10 @@ static inline int gpio_generic_chip_set(struct gpio_generic_chip *chip, unsigned int offset, int value) { - if (WARN_ON(!chip->gc.set_rv)) + if (WARN_ON(!chip->gc.set)) return -EOPNOTSUPP; - return chip->gc.set_rv(&chip->gc, offset, value); + return chip->gc.set(&chip->gc, offset, value); } #define gpio_generic_chip_lock(gen_gc) \ |
