提交 31963eb0 编写于 作者: A Amitesh Singh 提交者: Linus Walleij

gpio: fix documentation for gpiod_unexport

Both gpio_export and gpio_free APIs are obsolete now.
Signed-off-by: NAmitesh Singh <singh.amitesh@gmail.com>
Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
上级 ea3d579d
...@@ -670,10 +670,10 @@ int gpiod_export_link(struct device *dev, const char *name, ...@@ -670,10 +670,10 @@ int gpiod_export_link(struct device *dev, const char *name,
EXPORT_SYMBOL_GPL(gpiod_export_link); 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 * @gpio: gpio to make unavailable
* *
* This is implicit on gpio_free(). * This is implicit on gpiod_free().
*/ */
void gpiod_unexport(struct gpio_desc *desc) void gpiod_unexport(struct gpio_desc *desc)
{ {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册