]> www.infradead.org Git - users/jedix/linux-maple.git/commit
USB: serial: ftdi_sio: use new GPIO line value setter callbacks
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Thu, 19 Jun 2025 09:02:40 +0000 (11:02 +0200)
committerJohan Hovold <johan@kernel.org>
Tue, 24 Jun 2025 08:40:48 +0000 (10:40 +0200)
commit83e927b50591cd8ae6f70c8e7401c9a64b3a8484
tree057155cf1c2b68dd62ac5a020a14de211e4d92ec
parente04c78d86a9699d136910cfc0bdcf01087e3267e
USB: serial: ftdi_sio: 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>
Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/ftdi_sio.c