MIPS: txx9: gpio: use new line value setter callbacks
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Mon, 7 Apr 2025 07:25:10 +0000 (09:25 +0200)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Sun, 27 Apr 2025 07:21:21 +0000 (09:21 +0200)
commit37022f745b58436e7d3c3c924c78d78a139b00e7
tree28eee747a0d53fc8b647c8ee5b2efcf6ff441b1b
parent68bdc4dc1130ec5a3d9fdc1b4d90cdc9e39a8792
MIPS: txx9: gpio: use new line value setter callbacks

struct gpio_chip now has callbacks for setting line values that return
an integer, allowing to indicate failures. Convert the drivers to using
them.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/kernel/gpio_txx9.c
arch/mips/txx9/generic/setup.c