]> www.infradead.org Git - users/jedix/linux-maple.git/commit
gpio: bd9571mwv: use new line value setter callbacks
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Mon, 10 Mar 2025 12:40:19 +0000 (13:40 +0100)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Mon, 17 Mar 2025 07:27:41 +0000 (08:27 +0100)
commitfe7667f2085ee7d66a6a34e6bf6830be7e641b52
tree0c2cbeec3ea5f3932b79ee03d519728be6f62274
parent8a050f738d41d337fb73ef582916328dc5bd73e1
gpio: bd9571mwv: use new 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.

Reviewed-by: Matti Vaittinen <mazziesaccount@gmail.com>
Link: https://lore.kernel.org/r/20250310-gpiochip-set-conversion-v1-5-03798bb833eb@linaro.org
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
drivers/gpio/gpio-bd9571mwv.c