MIPS: bcm63xx: gpio: use new line value setter callbacks
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Mon, 7 Apr 2025 07:25:08 +0000 (09:25 +0200)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Sun, 27 Apr 2025 07:21:21 +0000 (09:21 +0200)
commit64f3322bea9404d2dd1e8bcdc5fb025044e48d96
tree1c4e3bbd4e9df73b36a14428ba447efff1471f67
parent55ba5375ba1c45404a917aed4f772da9a82fe723
MIPS: bcm63xx: 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 driver 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/bcm63xx/gpio.c