gpio: Propagate errors from gpiod_set_array_value_complex()
authorGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 27 Sep 2018 11:38:09 +0000 (13:38 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 1 Oct 2018 10:22:15 +0000 (12:22 +0200)
commitcf9af0d5786c008971148f4e06567a98f6a7f9d0
treea35bad0e4bdc096566aa7c6cc313dc91f0f1c341
parentc2937668d14456f2a361fbf5cc72764965171982
gpio: Propagate errors from gpiod_set_array_value_complex()

Internal helper function gpiod_set_array_value_complex() was changed to
return an error value, but not all gpiolib callers were updated to
propagate the new error up.

Fixes: 3027743f83f867d8 ("gpio: Remove VLA from gpiolib")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Documentation/driver-api/gpio/consumer.rst
drivers/gpio/gpiolib.c
include/linux/gpio/consumer.h