Documentation: gpio: Fix reference to gpiod_get_array()
authorGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 1 Jul 2019 14:10:05 +0000 (16:10 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 4 Jul 2019 07:32:54 +0000 (09:32 +0200)
The function is called gpiod_get_array(), not gpiod_array_get().

Fixes: 77588c14ac868cae ("gpiolib: Pass array info to get/set array functions")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20190701141005.24631-1-geert+renesas@glider.be
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Documentation/driver-api/gpio/consumer.rst

index 23d68c321c5c7c7df43365b9aa6f28cbad94aa7c..9559aa3cbcef25a2e6577e644dab4c73d7c2149b 100644 (file)
@@ -364,7 +364,7 @@ accessed sequentially.
 The functions take three arguments:
        * array_size    - the number of array elements
        * desc_array    - an array of GPIO descriptors
-       * array_info    - optional information obtained from gpiod_array_get()
+       * array_info    - optional information obtained from gpiod_get_array()
        * value_bitmap  - a bitmap to store the GPIOs' values (get) or
                          a bitmap of values to assign to the GPIOs (set)