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/pinctrl/sunplus/sppctl.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/pinctrl/sunplus/sppctl.c')
| -rw-r--r-- | drivers/pinctrl/sunplus/sppctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/sunplus/sppctl.c b/drivers/pinctrl/sunplus/sppctl.c index 3c3357f80889..3e924aa86cc2 100644 --- a/drivers/pinctrl/sunplus/sppctl.c +++ b/drivers/pinctrl/sunplus/sppctl.c @@ -547,7 +547,7 @@ static int sppctl_gpio_new(struct platform_device *pdev, struct sppctl_pdata *pc gchip->direction_input = sppctl_gpio_direction_input; gchip->direction_output = sppctl_gpio_direction_output; gchip->get = sppctl_gpio_get; - gchip->set_rv = sppctl_gpio_set; + gchip->set = sppctl_gpio_set; gchip->set_config = sppctl_gpio_set_config; gchip->dbg_show = IS_ENABLED(CONFIG_DEBUG_FS) ? sppctl_gpio_dbg_show : NULL; |
