summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpiolib-of.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven2017-06-01 12:30:01 +0200
committerLinus Walleij2017-06-16 11:13:10 +0200
commitead066e682af74d8bca000da90e05b5dafa6fbeb (patch)
tree6e53022151479c0eecd69930280a2ebd41d67d5b /drivers/gpio/gpiolib-of.c
parentgpio: xra1403: select REGMAP_SPI (diff)
downloadkernel-qcow2-linux-ead066e682af74d8bca000da90e05b5dafa6fbeb.tar.gz
kernel-qcow2-linux-ead066e682af74d8bca000da90e05b5dafa6fbeb.tar.xz
kernel-qcow2-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/gpiolib-of.c')
-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)
{