gpiolib: update inline documentation of gpiod_get_index()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 5 Dec 2013 09:26:26 +0000 (11:26 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 9 Dec 2013 13:19:27 +0000 (14:19 +0100)
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>
drivers/gpio/gpiolib.c

index 30ae38681fef050ad560ff6c39a3192035e57340..12e47dfabd8de2f3daf302a4e1058e0d7f6b3ce8 100644 (file)
@@ -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
  *