mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-04 21:31:51 +00:00
docs: gpio: Fix formatting in description of gpiod_*_array_* functions
The gpiod_*_array_* functions take four arguments, not three. Additionally, the formatting of the "value_bitmap" line results in misformatted HTML, so fix that. Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net> Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
This commit is contained in:
parent
0bb8e80b58
commit
db63c0953c
1 changed files with 3 additions and 2 deletions
|
@ -361,12 +361,13 @@ corresponding chip driver. In that case a significantly improved performance
|
||||||
can be expected. If simultaneous access is not possible the GPIOs will be
|
can be expected. If simultaneous access is not possible the GPIOs will be
|
||||||
accessed sequentially.
|
accessed sequentially.
|
||||||
|
|
||||||
The functions take three arguments:
|
The functions take four arguments:
|
||||||
|
|
||||||
* array_size - the number of array elements
|
* array_size - the number of array elements
|
||||||
* desc_array - an array of GPIO descriptors
|
* desc_array - an array of GPIO descriptors
|
||||||
* array_info - optional information obtained from gpiod_get_array()
|
* array_info - optional information obtained from gpiod_get_array()
|
||||||
* value_bitmap - a bitmap to store the GPIOs' values (get) or
|
* value_bitmap - a bitmap to store the GPIOs' values (get) or
|
||||||
a bitmap of values to assign to the GPIOs (set)
|
a bitmap of values to assign to the GPIOs (set)
|
||||||
|
|
||||||
The descriptor array can be obtained using the gpiod_get_array() function
|
The descriptor array can be obtained using the gpiod_get_array() function
|
||||||
or one of its variants. If the group of descriptors returned by that function
|
or one of its variants. If the group of descriptors returned by that function
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue