2020-02-09 09:59:29

by Ashish Chavan

[permalink] [raw]
Subject: [PATCH] gpio: rcar: Fix typo in comment

"Positive" is spelled incorrectly as "Postive" in
comment fix this.

Signed-off-by: Ashish Chavan <[email protected]>
---
drivers/gpio/gpio-rcar.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gpio/gpio-rcar.c b/drivers/gpio/gpio-rcar.c
index f800b250971c..7284473c9fe3 100644
--- a/drivers/gpio/gpio-rcar.c
+++ b/drivers/gpio/gpio-rcar.c
@@ -116,7 +116,7 @@ static void gpio_rcar_config_interrupt_input_mode(struct gpio_rcar_priv *p,

spin_lock_irqsave(&p->lock, flags);

- /* Configure postive or negative logic in POSNEG */
+ /* Configure positive or negative logic in POSNEG */
gpio_rcar_modify_bit(p, POSNEG, hwirq, !active_high_rising_edge);

/* Configure edge or level trigger in EDGLEVEL */
@@ -228,7 +228,7 @@ static void gpio_rcar_config_general_input_output_mode(struct gpio_chip *chip,

spin_lock_irqsave(&p->lock, flags);

- /* Configure postive logic in POSNEG */
+ /* Configure positive logic in POSNEG */
gpio_rcar_modify_bit(p, POSNEG, gpio, false);

/* Select "General Input/Output Mode" in IOINTSEL */
--
2.17.1


2020-02-20 08:19:53

by Linus Walleij

[permalink] [raw]
Subject: Re: [PATCH] gpio: rcar: Fix typo in comment

On Sun, Feb 9, 2020 at 10:56 AM Ashish Chavan <[email protected]> wrote:

> "Positive" is spelled incorrectly as "Postive" in
> comment fix this.
>
> Signed-off-by: Ashish Chavan <[email protected]>

Patch applied.

Yours,
Linus Walleij