Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 31963eb0 authored by Amitesh Singh's avatar Amitesh Singh Committed by Linus Walleij
Browse files

gpio: fix documentation for gpiod_unexport



Both gpio_export and gpio_free APIs are obsolete now.

Signed-off-by: default avatarAmitesh Singh <singh.amitesh@gmail.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent ea3d579d
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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)
{