瀏覽代碼

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>
Amitesh Singh 9 年之前
父節點
當前提交
31963eb039
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      drivers/gpio/gpiolib-sysfs.c

+ 2 - 2
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)
 {