From: Andy Shevchenko Date: Thu, 5 Dec 2013 09:26:26 +0000 (+0200) Subject: gpiolib: update inline documentation of gpiod_get_index() X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=fdd6a5fe89880f1d97bbf62fea27fd7ca76f2d21;p=linux-beck.git 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 Reviewed-by: Mika Westerberg Signed-off-by: Linus Walleij --- 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 *