Skip to contentSkip to conversation

gpio: fix documentation for gpiod_unexport

PATCH In review Amitesh Singh 2 participants 2 messages Sep 8, 2016 – Sep 12, 2016 GPIO

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gpio: fix documentation for gpiod_unexport

Both gpio_export and gpio_free APIs are obsolete now.

---
 drivers/gpio/gpiolib-sysfs.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpio/gpiolib-sysfs.c +2 -2
index 932e510..4b44dd9 100644
@@ -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)
 {
Signature · 5 lines
2.7.4

 Both gpio_export and gpio_free APIs are obsolete now.
    
    Signed-off-by: Amitesh Singh <[email protected]>