]> www.infradead.org Git - users/jedix/linux-maple.git/commit
serial: max310x: use new GPIO line value setter callbacks
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Tue, 8 Apr 2025 07:42:00 +0000 (09:42 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 11 Apr 2025 14:52:25 +0000 (16:52 +0200)
commit2318a488683ab904ccb5604222d457a3c32b8fdc
tree8e15d69922a7da4047c8ca51e9da1594ed0d6b53
parent9d64c6ae2d6f9284a8475d02291580457be7bc28
serial: max310x: 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>
Link: https://lore.kernel.org/r/20250408-gpiochip-set-rv-tty-v1-1-fb49444827d4@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/max310x.c