summaryrefslogtreecommitdiff
path: root/drivers/gpio
diff options
context:
space:
mode:
authorAmitesh Singh <singh.amitesh@gmail.com>2016-09-08 14:41:20 +0300
committerLinus Walleij <linus.walleij@linaro.org>2016-09-12 15:53:33 +0300
commit31963eb039b7d5708cdd3e07d247ac2389eb0c1f (patch)
tree41cfc83dd08c6fd830cc6c458bfdd13e7a358dcc /drivers/gpio
parentea3d579d8f0cc5f16105c2741e2d409563beb948 (diff)
downloadlinux-31963eb039b7d5708cdd3e07d247ac2389eb0c1f.tar.xz
gpio: fix documentation for gpiod_unexport
Both gpio_export and gpio_free APIs are obsolete now. Signed-off-by: Amitesh Singh <singh.amitesh@gmail.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio')
-rw-r--r--drivers/gpio/gpiolib-sysfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpio/gpiolib-sysfs.c b/drivers/gpio/gpiolib-sysfs.c
index 932e510aec50..4b44dd97c07f 100644
--- a/drivers/gpio/gpiolib-sysfs.c
+++ b/drivers/gpio/gpiolib-sysfs.c
@@ -670,10 +670,10 @@ int gpiod_export_link(struct device *dev, const char *name,
EXPORT_SYMBOL_GPL(gpiod_export_link);
/**
- * gpiod_unexport - reverse effect of gpio_export()
+ * gpiod_unexport - reverse effect of gpiod_export()
* @gpio: gpio to make unavailable
*
- * This is implicit on gpio_free().
+ * This is implicit on gpiod_free().
*/
void gpiod_unexport(struct gpio_desc *desc)
{