]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
powerpc: 8xx/gpio: use new line value setter callbacks
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Fri, 2 May 2025 08:59:51 +0000 (10:59 +0200)
committerMadhavan Srinivasan <maddy@linux.ibm.com>
Sun, 4 May 2025 03:34:38 +0000 (09:04 +0530)
commit5ea6a980b5da58a8dff550dbc2c2523ea492dd14
tree026e343e9b64ee15a6ff5d743a851df96a2a2299
parentc8fb184faaa0aefa3c1b1f8b3eba873c7ec4d840
powerpc: 8xx/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>
Reviewed-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Acked-by: Christophe Leroy <christophe.leroy@csgroup.eu> # powerpc 8xx
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com>
Link: https://patch.msgid.link/20250502-gpiochip-set-rv-powerpc-v2-5-488e43e325bf@linaro.org
arch/powerpc/platforms/8xx/cpm1.c