diff options
| author | Bartosz Golaszewski <[email protected]> | 2025-07-17 13:21:26 +0000 |
|---|---|---|
| committer | Bartosz Golaszewski <[email protected]> | 2025-08-07 08:07:06 +0000 |
| commit | d9d87d90cc0b10cd56ae353f50b11417e7d21712 (patch) | |
| tree | adc641600fa4ca6a0e07d1666b3309074d197f97 /drivers/gpio/gpio-pxa.c | |
| parent | gpio: remove legacy GPIO line value setter callbacks (diff) | |
| download | kernel-d9d87d90cc0b10cd56ae353f50b11417e7d21712.tar.gz kernel-d9d87d90cc0b10cd56ae353f50b11417e7d21712.zip | |
treewide: rename GPIO set callbacks back to their original names
The conversion of all GPIO drivers to using the .set_rv() and
.set_multiple_rv() callbacks from struct gpio_chip (which - unlike their
predecessors - return an integer and allow the controller drivers to
indicate failures to users) is now complete and the legacy ones have
been removed. Rename the new callbacks back to their original names in
one sweeping change.
Signed-off-by: Bartosz Golaszewski <[email protected]>
Diffstat (limited to 'drivers/gpio/gpio-pxa.c')
| -rw-r--r-- | drivers/gpio/gpio-pxa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-pxa.c b/drivers/gpio/gpio-pxa.c index cbcdd416f8b9..fa22f3faa163 100644 --- a/drivers/gpio/gpio-pxa.c +++ b/drivers/gpio/gpio-pxa.c @@ -355,7 +355,7 @@ static int pxa_init_gpio_chip(struct pxa_gpio_chip *pchip, int ngpio, void __iom pchip->chip.direction_input = pxa_gpio_direction_input; pchip->chip.direction_output = pxa_gpio_direction_output; pchip->chip.get = pxa_gpio_get; - pchip->chip.set_rv = pxa_gpio_set; + pchip->chip.set = pxa_gpio_set; pchip->chip.to_irq = pxa_gpio_to_irq; pchip->chip.ngpio = ngpio; pchip->chip.request = gpiochip_generic_request; |
