diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2013-12-05 04:26:26 -0500 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2013-12-09 08:19:27 -0500 |
commit | fdd6a5fe89880f1d97bbf62fea27fd7ca76f2d21 (patch) | |
tree | 74aa3db55bc2c5dcd4ce77e243cdc9e817717a4f /drivers/gpio | |
parent | f9244ae5dce18b73ac42f5979116050da3a5c4d5 (diff) |
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); | |||
2423 | 2423 | ||
2424 | /** | 2424 | /** |
2425 | * gpiod_get_index - obtain a GPIO from a multi-index GPIO function | 2425 | * gpiod_get_index - obtain a GPIO from a multi-index GPIO function |
2426 | * @dev: GPIO consumer | 2426 | * @dev: GPIO consumer, can be NULL for system-global GPIOs |
2427 | * @con_id: function within the GPIO consumer | 2427 | * @con_id: function within the GPIO consumer |
2428 | * @idx: index of the GPIO to obtain in the consumer | 2428 | * @idx: index of the GPIO to obtain in the consumer |
2429 | * | 2429 | * |