From: Amitesh Singh Date: Thu, 8 Sep 2016 11:41:20 +0000 (+0530) Subject: gpio: fix documentation for gpiod_unexport X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=31963eb039b7d5708cdd3e07d247ac2389eb0c1f;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git gpio: fix documentation for gpiod_unexport Both gpio_export and gpio_free APIs are obsolete now. Signed-off-by: Amitesh Singh Signed-off-by: Linus Walleij --- diff --git a/drivers/gpio/gpiolib-sysfs.c b/drivers/gpio/gpiolib-sysfs.c index 932e510aec50..4b44dd97c07f 100644 --- a/drivers/gpio/gpiolib-sysfs.c +++ b/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) {