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-pca953x.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-pca953x.c')
| -rw-r--r-- | drivers/gpio/gpio-pca953x.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpio/gpio-pca953x.c b/drivers/gpio/gpio-pca953x.c index 69906a9af7e6..b46927f55038 100644 --- a/drivers/gpio/gpio-pca953x.c +++ b/drivers/gpio/gpio-pca953x.c @@ -789,10 +789,10 @@ static void pca953x_setup_gpio(struct pca953x_chip *chip, int gpios) gc->direction_input = pca953x_gpio_direction_input; gc->direction_output = pca953x_gpio_direction_output; gc->get = pca953x_gpio_get_value; - gc->set_rv = pca953x_gpio_set_value; + gc->set = pca953x_gpio_set_value; gc->get_direction = pca953x_gpio_get_direction; gc->get_multiple = pca953x_gpio_get_multiple; - gc->set_multiple_rv = pca953x_gpio_set_multiple; + gc->set_multiple = pca953x_gpio_set_multiple; gc->set_config = pca953x_gpio_set_config; gc->can_sleep = true; |
