Commit c2937668 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Linus Walleij
Browse files

Documentation: gpio: Fix return type of gpiod_set_raw_array_value*()



The return type of gpiod_set_raw_array_value() and
gpiod_set_raw_array_value_cansleep() was changed from void to int, but
the doc update was forgotten.

Fixes: 3027743f ("gpio: Remove VLA from gpiolib")
Signed-off-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 799d5eb4
Loading
Loading
Loading
Loading
+8 −8
Original line number Diff line number Diff line
@@ -344,7 +344,7 @@ The following functions get or set the values of an array of GPIOs::
				   struct gpio_desc **desc_array,
				   struct gpio_array *array_info,
				   unsigned long *value_bitmap)
	void gpiod_set_raw_array_value(unsigned int array_size,
	int gpiod_set_raw_array_value(unsigned int array_size,
				      struct gpio_desc **desc_array,
				      struct gpio_array *array_info,
				      unsigned long *value_bitmap)
@@ -352,7 +352,7 @@ The following functions get or set the values of an array of GPIOs::
					    struct gpio_desc **desc_array,
					    struct gpio_array *array_info,
					    unsigned long *value_bitmap)
	void gpiod_set_raw_array_value_cansleep(unsigned int array_size,
	int gpiod_set_raw_array_value_cansleep(unsigned int array_size,
					       struct gpio_desc **desc_array,
					       struct gpio_array *array_info,
					       unsigned long *value_bitmap)