summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpiolib.c
diff options
context:
space:
mode:
authorTomeu Vizoso2015-06-17 15:42:11 +0200
committerLinus Walleij2015-07-16 00:11:02 +0200
commitd32651f68785bd8d73b24481b62e428ca30a2546 (patch)
treeb19e9c1a2def14221ef65562ee8676b2c0c52f2d /drivers/gpio/gpiolib.c
parentgpio: generic: add get_direction support (diff)
downloadkernel-qcow2-linux-d32651f68785bd8d73b24481b62e428ca30a2546.tar.gz
kernel-qcow2-linux-d32651f68785bd8d73b24481b62e428ca30a2546.tar.xz
kernel-qcow2-linux-d32651f68785bd8d73b24481b62e428ca30a2546.zip
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>
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 bf4bd1d120c3..b1b08b3fa626 100644
--- a/drivers/gpio/gpiolib.c
+++ b/drivers/gpio/gpiolib.c
@@ -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
*/