diff options
author | Dario Binacchi <dariobin@libero.it> | 2020-10-11 14:25:47 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-10-22 11:26:14 -0400 |
commit | 7438d6a6c482d4584d9685aae92374aa9a22e8c1 (patch) | |
tree | f1ecdd0f026ad7d2c7f7a7eac6743a98a42ece90 /include/asm-generic | |
parent | 2d1a43be4ee2a249f8ea2ff8eed464acd92e4a0a (diff) | |
download | u-boot-7438d6a6c482d4584d9685aae92374aa9a22e8c1.tar.gz u-boot-7438d6a6c482d4584d9685aae92374aa9a22e8c1.tar.bz2 u-boot-7438d6a6c482d4584d9685aae92374aa9a22e8c1.zip |
gpio: fix gpio_request_by_name() description
Replace 'dev->dev' with '@desc->dev' in the gpio_request_by_name function
desc parameter description.
Signed-off-by: Dario Binacchi <dariobin@libero.it>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/asm-generic')
-rw-r--r-- | include/asm-generic/gpio.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-generic/gpio.h b/include/asm-generic/gpio.h index 3ae1894a98..82294cbdc5 100644 --- a/include/asm-generic/gpio.h +++ b/include/asm-generic/gpio.h @@ -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. |