gpio: ts5500: use new GPIO line value setter callbacks
authorDaniel Sullivan <danieljsullivan7@gmail.com>
Sun, 22 Jun 2025 00:12:33 +0000 (17:12 -0700)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Mon, 23 Jun 2025 07:17:44 +0000 (09:17 +0200)
commita0cfbc67d71c763357a8847305e3d5254028c0da
tree68c2ce2160ccd78c7a9aae3ba9c84d9fc78675a5
parente6bb78570f7d531622ec572ef9ddbe6e66ff16ce
gpio: ts5500: 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: Daniel Sullivan <danieljsullivan7@gmail.com>
Link: https://lore.kernel.org/r/aFdKce3Go9iF4A6m@danv-Standard-PC-Q35-ICH9-2009
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
drivers/gpio/gpio-ts5500.c