]> Git Repo - J-u-boot.git/commitdiff
gpio: fix gpio_request_by_name() description
authorDario Binacchi <[email protected]>
Sun, 11 Oct 2020 12:25:47 +0000 (14:25 +0200)
committerTom Rini <[email protected]>
Thu, 22 Oct 2020 15:26:14 +0000 (11:26 -0400)
Replace 'dev->dev' with '@desc->dev' in the gpio_request_by_name function
desc parameter description.

Signed-off-by: Dario Binacchi <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
include/asm-generic/gpio.h

index 3ae1894a9814f82ce42f5c91e5ec5b09af60c59f..82294cbdc5773fddb328c1f7e8a1ac4f4494e14a 100644 (file)
@@ -496,7 +496,7 @@ int gpio_claim_vector(const int *gpio_num_array, const char *fmt);
  * @list_name: Name of GPIO list (e.g. "board-id-gpios")
  * @index:     Index number of the GPIO in that list use request (0=first)
  * @desc:      Returns GPIO description information. If there is no such
- *             GPIO, dev->dev will be NULL.
+ *             GPIO, @desc->dev will be NULL.
  * @flags:     Indicates the GPIO input/output settings (GPIOD_...)
  * @return 0 if OK, -ENOENT if the GPIO does not exist, -EINVAL if there is
  * something wrong with the list, or other -ve for another error (e.g.
This page took 0.040974 seconds and 4 git commands to generate.