diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2013-12-05 11:26:26 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2013-12-09 14:19:27 +0100 |
commit | fdd6a5fe89880f1d97bbf62fea27fd7ca76f2d21 (patch) | |
tree | 74aa3db55bc2c5dcd4ce77e243cdc9e817717a4f /drivers/gpio | |
parent | f9244ae5dce18b73ac42f5979116050da3a5c4d5 (diff) | |
download | linux-stable-fdd6a5fe89880f1d97bbf62fea27fd7ca76f2d21.tar.gz linux-stable-fdd6a5fe89880f1d97bbf62fea27fd7ca76f2d21.tar.bz2 linux-stable-fdd6a5fe89880f1d97bbf62fea27fd7ca76f2d21.zip |
gpiolib: update inline documentation of gpiod_get_index()
The patch just accents that @dev could be NULL.
There is no functional change.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio')
-rw-r--r-- | drivers/gpio/gpiolib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/gpiolib.c b/drivers/gpio/gpiolib.c index 30ae38681fef..12e47dfabd8d 100644 --- a/drivers/gpio/gpiolib.c +++ b/drivers/gpio/gpiolib.c @@ -2423,7 +2423,7 @@ EXPORT_SYMBOL_GPL(gpiod_get); /** * gpiod_get_index - obtain a GPIO from a multi-index GPIO function - * @dev: GPIO consumer + * @dev: GPIO consumer, can be NULL for system-global GPIOs * @con_id: function within the GPIO consumer * @idx: index of the GPIO to obtain in the consumer * |