]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
gpio: tps65086: use new GPIO line value setter callbacks
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Wed, 2 Jul 2025 09:14:09 +0000 (11:14 +0200)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Mon, 7 Jul 2025 07:45:30 +0000 (09:45 +0200)
commit2a5be7a80b3b1036fba5dae13dd55c97fb7eabaa
tree52c770c30aa28377c8e47cec314f556658ddde74
parent4ffdd9d8a37eaf4e25855e1038b9e1091401c252
gpio: tps65086: 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.

Link: https://lore.kernel.org/r/20250702-gpiochip-set-rv-gpio-round3-v1-8-0d23be74f71d@linaro.org
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
drivers/gpio/gpio-tps65086.c