[PATCH 0/4] leds: use new GPIO setter callbacks

Bartosz Golaszewski posted 4 patches 7 months, 4 weeks ago
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(-)
[PATCH 0/4] leds: use new GPIO setter callbacks
Posted by Bartosz Golaszewski 7 months, 4 weeks ago
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>
Re: [PATCH 0/4] leds: use new GPIO setter callbacks
Posted by Lee Jones 7 months, 4 weeks ago
On Wed, 23 Apr 2025 09:53:49 +0200, Bartosz Golaszewski wrote:
> 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/.
> 
> 
> [...]

Applied, thanks!

[1/4] leds: lgm-sso: use new line value setter callbacks
      commit: d48b4a8402c07453f82a95af60702d06c14bca18
[2/4] leds: pca955x: use new line value setter callbacks
      commit: f5800749963eefb11001fe961434a1b0fdf12382
[3/4] leds: pca9532: use new line value setter callbacks
      commit: e3f286285f19d985323f4e3454894d6f8ba83dbc
[4/4] leds: tca6507: use new line value setter callbacks
      commit: df80e14ebe1035004c515b952cb700a391f220f5

--
Lee Jones [李琼斯]

Re: [PATCH 0/4] leds: use new GPIO setter callbacks
Posted by Linus Walleij 7 months, 4 weeks ago
On Wed, Apr 23, 2025 at 9:54 AM Bartosz Golaszewski <brgl@bgdev.pl> wrote:

> 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>

The series:
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>

Yours,
Linus Walleij