summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2014-04-25 16:54:22 +0200
committerLinus Walleij <linus.walleij@linaro.org>2014-05-02 15:18:14 -0700
commit0879162f33bf8a2fe637a22bb77d20233f486ac4 (patch)
treefde20f339c030091d80bda302bdb384a7d26d694
parentdd34c37aa3e81715a1ed8da61fa438072428e188 (diff)
downloadlinux-stable-0879162f33bf8a2fe637a22bb77d20233f486ac4.tar.gz
linux-stable-0879162f33bf8a2fe637a22bb77d20233f486ac4.tar.bz2
linux-stable-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>
-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
*