]> www.infradead.org Git - users/jedix/linux-maple.git/commit
powerpc: 83xx/gpio: use new line value setter callbacks
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Fri, 2 May 2025 08:59:48 +0000 (10:59 +0200)
committerMadhavan Srinivasan <maddy@linux.ibm.com>
Sun, 4 May 2025 03:34:37 +0000 (09:04 +0530)
commit077f8733252dcfa738bcf0cfbf6820b26a7ba084
treeb1590bd09d73a66c8adb74e6db88127d5dea9a67
parent54ac723320fcb0fe42aaa42ea800697450b75668
powerpc: 83xx/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.

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Reviewed-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com>
Link: https://patch.msgid.link/20250502-gpiochip-set-rv-powerpc-v2-2-488e43e325bf@linaro.org
arch/powerpc/platforms/83xx/mcu_mpc8349emitx.c