summaryrefslogtreecommitdiffstats
path: root/drivers/gpio
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2017-06-01 12:30:01 +0200
committerLinus Walleij <linus.walleij@linaro.org>2017-06-16 11:13:10 +0200
commitead066e682af74d8bca000da90e05b5dafa6fbeb (patch)
tree6e53022151479c0eecd69930280a2ebd41d67d5b /drivers/gpio
parent665dff997e166c67663f2e0fce16392c70d31511 (diff)
downloadtalos-obmc-linux-ead066e682af74d8bca000da90e05b5dafa6fbeb.tar.gz
talos-obmc-linux-ead066e682af74d8bca000da90e05b5dafa6fbeb.zip
gpio: of: Spelling: s/retures/returns/
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio')
-rw-r--r--drivers/gpio/gpiolib-of.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/gpiolib-of.c b/drivers/gpio/gpiolib-of.c
index e2abf0eabaf8..54ce8dc58ad0 100644
--- a/drivers/gpio/gpiolib-of.c
+++ b/drivers/gpio/gpiolib-of.c
@@ -239,7 +239,7 @@ static struct gpio_desc *of_parse_own_gpio(struct device_node *np,
*
* This is only used by of_gpiochip_add to request/set GPIO initial
* configuration.
- * It retures error if it fails otherwise 0 on success.
+ * It returns error if it fails otherwise 0 on success.
*/
static int of_gpiochip_scan_gpios(struct gpio_chip *chip)
{
OpenPOWER on IntegriCloud