[PATCH 00/12] gpio: use new GPIO line value setter callbacks

From: Bartosz Golaszewski
Date: Tue Jun 17 2025 - 08:26:35 EST


Commit 98ce1eb1fd87e ("gpiolib: introduce gpio_chip setters that return
values") added new line setter callbacks to struct gpio_chip. They allow
to indicate failures to callers. We're in the process of converting all
GPIO controllers to using them before removing the old ones. This series
converts another round of GPIO drivers.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>
---
Bartosz Golaszewski (12):
gpio: pca9570: use new GPIO line value setter callbacks
gpio: pcf857x: use new GPIO line value setter callbacks
gpio: pch: use new GPIO line value setter callbacks
gpio: pl061: use new GPIO line value setter callbacks
gpio: pmic-eic-sprd: drop unneeded .set() callback
gpio: pxa: use new GPIO line value setter callbacks
gpio: rc5t583: use new GPIO line value setter callbacks
gpio: rdc321x: use new GPIO line value setter callbacks
gpio: reg: use new GPIO line value setter callbacks
gpio: rockchip: use new GPIO line value setter callbacks
gpio: rtd: use new GPIO line value setter callbacks
gpio: sa1100: use new GPIO line value setter callbacks

drivers/gpio/gpio-pca9570.c | 5 +++--
drivers/gpio/gpio-pcf857x.c | 17 ++++++++++-------
drivers/gpio/gpio-pch.c | 6 ++++--
drivers/gpio/gpio-pl061.c | 6 ++++--
drivers/gpio/gpio-pmic-eic-sprd.c | 7 -------
drivers/gpio/gpio-pxa.c | 6 ++++--
drivers/gpio/gpio-rc5t583.c | 19 ++++++++++++++-----
drivers/gpio/gpio-rdc321x.c | 8 +++++---
drivers/gpio/gpio-reg.c | 6 ++++--
drivers/gpio/gpio-rockchip.c | 8 +++++---
drivers/gpio/gpio-rtd.c | 6 ++++--
drivers/gpio/gpio-sa1100.c | 7 +++++--
12 files changed, 62 insertions(+), 39 deletions(-)
---
base-commit: f3763403a6bbc3a18379fe4c415bda899a111d55
change-id: 20250617-gpiochip-set-rv-gpio-e1e864768942

Best regards,
--
Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>