Commit d32651f6 authored by Tomeu Vizoso's avatar Tomeu Vizoso Committed by Linus Walleij

gpiolib: Fix docs for gpiochip_add_pingroup_range

gpiochip_add_pingroup_range() has a pctldev argument, not pinctrl.
Signed-off-by: default avatarTomeu Vizoso <tomeu.vizoso@collabora.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent db3b0fcc
...@@ -671,7 +671,7 @@ static void gpiochip_irqchip_remove(struct gpio_chip *gpiochip) {} ...@@ -671,7 +671,7 @@ static void gpiochip_irqchip_remove(struct gpio_chip *gpiochip) {}
/** /**
* gpiochip_add_pingroup_range() - add a range for GPIO <-> pin mapping * gpiochip_add_pingroup_range() - add a range for GPIO <-> pin mapping
* @chip: the gpiochip to add the range for * @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 * @gpio_offset: the start offset in the current gpio_chip number space
* @pin_group: name of the pin group inside the pin controller * @pin_group: name of the pin group inside the pin controller
*/ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment