misc: ti-fpc202: use new GPIO line value setter callbacks
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Thu, 17 Jul 2025 13:03:56 +0000 (15:03 +0200)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Fri, 18 Jul 2025 07:35:11 +0000 (09:35 +0200)
commit74896eae7e040e1b2a381efc8df0c839023dbf16
treec6b94b7aadcc8ccb5c0b64082a6841a9c7c093a7
parentdb7897ad60fd7d7bf471bc1c49e3d01fefadade3
misc: ti-fpc202: 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.

Reviewed-by: Romain Gantois <romain.gantois@bootlin.com>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://lore.kernel.org/r/20250717130357.53491-2-brgl@bgdev.pl
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
drivers/misc/ti_fpc202.c