summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpiolib.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2013-12-05 11:26:26 +0200
committerLinus Walleij <linus.walleij@linaro.org>2013-12-09 14:19:27 +0100
commitfdd6a5fe89880f1d97bbf62fea27fd7ca76f2d21 (patch)
tree74aa3db55bc2c5dcd4ce77e243cdc9e817717a4f /drivers/gpio/gpiolib.c
parentf9244ae5dce18b73ac42f5979116050da3a5c4d5 (diff)
downloadlinux-fdd6a5fe89880f1d97bbf62fea27fd7ca76f2d21.tar.gz
linux-fdd6a5fe89880f1d97bbf62fea27fd7ca76f2d21.tar.bz2
linux-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/gpiolib.c')
-rw-r--r--drivers/gpio/gpiolib.c2
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
*