Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

gpiolib: Fix docs for gpiochip_add_pingroup_range

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>

authored by

Tomeu Vizoso and committed by
Linus Walleij
d32651f6 db3b0fcc

+1 -1
+1 -1
drivers/gpio/gpiolib.c
··· 671 671 /** 672 672 * gpiochip_add_pingroup_range() - add a range for GPIO <-> pin mapping 673 673 * @chip: the gpiochip to add the range for 674 - * @pinctrl: the dev_name() of the pin controller to map to 674 + * @pctldev: the pin controller to map to 675 675 * @gpio_offset: the start offset in the current gpio_chip number space 676 676 * @pin_group: name of the pin group inside the pin controller 677 677 */