public inbox for linux-gpio@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] leds: use new GPIO setter callbacks
@ 2025-04-23  7:53 Bartosz Golaszewski
  2025-04-23  7:53 ` [PATCH 1/4] leds: lgm-sso: use new line value " Bartosz Golaszewski
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Bartosz Golaszewski @ 2025-04-23  7:53 UTC (permalink / raw)
  To: Lee Jones, Pavel Machek, Linus Walleij, Bartosz Golaszewski,
	Riku Voipio
  Cc: linux-leds, linux-kernel, linux-gpio, Bartosz Golaszewski

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>


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2025-04-24 16:27 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-23  7:53 [PATCH 0/4] leds: use new GPIO setter callbacks Bartosz Golaszewski
2025-04-23  7:53 ` [PATCH 1/4] leds: lgm-sso: use new line value " Bartosz Golaszewski
2025-04-23  7:53 ` [PATCH 2/4] leds: pca955x: " Bartosz Golaszewski
2025-04-23  7:53 ` [PATCH 3/4] leds: pca9532: " Bartosz Golaszewski
2025-04-23  7:53 ` [PATCH 4/4] leds: tca6507: " Bartosz Golaszewski
2025-04-23  9:12 ` [PATCH 0/4] leds: use new GPIO " Linus Walleij
2025-04-24 16:27 ` Lee Jones

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox