]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
gpio: fix documentation for gpiod_unexport
authorAmitesh Singh <singh.amitesh@gmail.com>
Thu, 8 Sep 2016 11:41:20 +0000 (17:11 +0530)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 12 Sep 2016 12:53:33 +0000 (14:53 +0200)
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>
drivers/gpio/gpiolib-sysfs.c

index 932e510aec50db6c2dba5f2ce539f5cb46925d31..4b44dd97c07f52c34ff9ad35d64e2766c4aeb071 100644 (file)
@@ -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)
 {