OSDN Git Service

gpiolib: Fix docs for gpiochip_add_pingroup_range
authorTomeu Vizoso <tomeu.vizoso@collabora.com>
Wed, 17 Jun 2015 13:42:11 +0000 (15:42 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 15 Jul 2015 22:11:02 +0000 (00:11 +0200)
gpiochip_add_pingroup_range() has a pctldev argument, not pinctrl.

Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpiolib.c

index bf4bd1d..b1b08b3 100644 (file)
@@ -671,7 +671,7 @@ static void gpiochip_irqchip_remove(struct gpio_chip *gpiochip) {}
 /**
  * gpiochip_add_pingroup_range() - add a range for GPIO <-> pin mapping
  * @chip: the gpiochip to add the range for
- * @pinctrl: the dev_name() of the pin controller to map to
+ * @pctldev: the pin controller to map to
  * @gpio_offset: the start offset in the current gpio_chip number space
  * @pin_group: name of the pin group inside the pin controller
  */