summaryrefslogtreecommitdiffstats
path: root/drivers/gpio
diff options
context:
space:
mode:
authorRahul Bedarkar <rahulbedarkar89@gmail.com>2014-02-08 11:55:25 +0530
committerLinus Walleij <linus.walleij@linaro.org>2014-02-12 17:08:30 +0100
commit90df4fe07f9794984bd2dafd1d28acd45318d37f (patch)
tree5be05d12813dfb3e58d33f03d9203be0f97c0882 /drivers/gpio
parent01ca59f1bb1e71f1f40d0cfbec6b467df144924d (diff)
downloadop-kernel-dev-90df4fe07f9794984bd2dafd1d28acd45318d37f.zip
op-kernel-dev-90df4fe07f9794984bd2dafd1d28acd45318d37f.tar.gz
GPIO: gpiolib: correct description of gpiod_direction_output
Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Reviewed-by: Alexandre Courbot <acourbot@nvidia.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio')
-rw-r--r--drivers/gpio/gpiolib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/gpiolib.c b/drivers/gpio/gpiolib.c
index 80da9f1..9b241bc 100644
--- a/drivers/gpio/gpiolib.c
+++ b/drivers/gpio/gpiolib.c
@@ -1848,7 +1848,7 @@ int gpiod_direction_output_raw(struct gpio_desc *desc, int value)
EXPORT_SYMBOL_GPL(gpiod_direction_output_raw);
/**
- * gpiod_direction_output - set the GPIO direction to input
+ * gpiod_direction_output - set the GPIO direction to output
* @desc: GPIO to set to output
* @value: initial output value of the GPIO
*
OpenPOWER on IntegriCloud