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 all GPIO drivers under drivers/leds/.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
---
Bartosz Golaszewski (4):
leds: lgm-sso: use new line value setter callbacks
leds: pca955x: use new line value setter callbacks
leds: pca9532: use new line value setter callbacks
leds: tca6507: use new line value setter callbacks
drivers/leds/blink/leds-lgm-sso.c | 6 ++++--
drivers/leds/leds-pca9532.c | 11 ++++++-----
drivers/leds/leds-pca955x.c | 8 ++++----
drivers/leds/leds-tca6507.c | 11 ++++++-----
4 files changed, 20 insertions(+), 16 deletions(-)
---
base-commit: 2c9c612abeb38aab0e87d48496de6fd6daafb00b
change-id: 20250423-gpiochip-set-rv-leds-f2e516f9cea7
Best regards,
--
Bartosz Golaszewski <bartosz.golaszewski@linaro.org>