]> www.infradead.org Git - users/jedix/linux-maple.git/commit
leds: tca6507: Use new GPIO line value setter callbacks
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Wed, 23 Apr 2025 07:53:53 +0000 (09:53 +0200)
committerLee Jones <lee@kernel.org>
Wed, 14 May 2025 08:25:01 +0000 (09:25 +0100)
commitd1d3205730735b652303a82ba49fcfef7c20510d
tree3351ccb288a8b15b5a44f2c9c5b3352295e5cd87
parente1cc2c8cc7ccccb52814d10c98de1252f8a7ae61
leds: tca6507: 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-4-2f42d8fbb525@linaro.org
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/leds/leds-tca6507.c