]> www.infradead.org Git - users/jedix/linux-maple.git/commit
serial: sc16is7xx: use new GPIO line value setter callbacks
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Tue, 8 Apr 2025 07:42:01 +0000 (09:42 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 11 Apr 2025 14:52:25 +0000 (16:52 +0200)
commita5482409a435a2d0e30bd0e179f662860b0e6c6b
tree2e98184ee70c6c5dccaa22bb02bc3a269a458fdc
parent2318a488683ab904ccb5604222d457a3c32b8fdc
serial: sc16is7xx: 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-2-fb49444827d4@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/sc16is7xx.c