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