summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpiolib.c
diff options
context:
space:
mode:
authorThierry Reding2014-04-25 16:54:22 +0200
committerLinus Walleij2014-05-03 00:18:14 +0200
commit0879162f33bf8a2fe637a22bb77d20233f486ac4 (patch)
treefde20f339c030091d80bda302bdb384a7d26d694 /drivers/gpio/gpiolib.c
parentgpio: of: Allow -gpio suffix for property names (diff)
downloadkernel-qcow2-linux-0879162f33bf8a2fe637a22bb77d20233f486ac4.tar.gz
kernel-qcow2-linux-0879162f33bf8a2fe637a22bb77d20233f486ac4.tar.xz
kernel-qcow2-linux-0879162f33bf8a2fe637a22bb77d20233f486ac4.zip
gpio: Fix gpio_get -> gpiod_get typo in kernel-doc
The function is called gpiod_get(), not gpio_get(). Fix the kernel-doc comment to match the name. Signed-off-by: Thierry Reding <treding@nvidia.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 86eb0467fc5a..4ad110e793c5 100644
--- a/drivers/gpio/gpiolib.c
+++ b/drivers/gpio/gpiolib.c
@@ -2723,7 +2723,7 @@ static struct gpio_desc *gpiod_find(struct device *dev, const char *con_id,
}
/**
- * gpio_get - obtain a GPIO for a given GPIO function
+ * gpiod_get - obtain a GPIO for a given GPIO function
* @dev: GPIO consumer, can be NULL for system-global GPIOs
* @con_id: function within the GPIO consumer
*