]> www.infradead.org Git - users/jedix/linux-maple.git/commit
leds: lgm-sso: Use new GPIO line value setter callbacks
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Wed, 23 Apr 2025 07:53:50 +0000 (09:53 +0200)
committerLee Jones <lee@kernel.org>
Wed, 14 May 2025 08:24:58 +0000 (09:24 +0100)
commitee08ec51a0a01ed8702a7f91e5102dad92319172
tree8a206b01a580b91b29713433beadf82d7562bebb
parent4c6c3ca07b7a70e7b8fe5c25cbf0650c422a3a28
leds: lgm-sso: Use new GPIO line value setter callbacks

struct gpio_chip now has callbacks for setting line values that return
an integer, allowing to indicate failures. Convert the driver to using
them.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20250423-gpiochip-set-rv-leds-v1-1-2f42d8fbb525@linaro.org
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/leds/blink/leds-lgm-sso.c