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