diff mbox series

gpio: sta2x11: fix typo in a comment

Message ID 20211212031335.36369-1-wangborong@cdjrlc.com
State Accepted
Commit 34d9841b4b7bbfa60149417605f6368b4cfb4523
Headers show
Series gpio: sta2x11: fix typo in a comment | expand

Commit Message

Jason Wang Dec. 12, 2021, 3:13 a.m. UTC
The double `all' in the comment in line 327 is repeated. Remove one
of them from the comment.

Signed-off-by: Jason Wang <wangborong@cdjrlc.com>
---
 drivers/gpio/gpio-sta2x11.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Bartosz Golaszewski Dec. 13, 2021, 1:48 p.m. UTC | #1
On Sun, Dec 12, 2021 at 4:13 AM Jason Wang <wangborong@cdjrlc.com> wrote:
>
> The double `all' in the comment in line 327 is repeated. Remove one
> of them from the comment.
>
> Signed-off-by: Jason Wang <wangborong@cdjrlc.com>
> ---
>  drivers/gpio/gpio-sta2x11.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpio/gpio-sta2x11.c b/drivers/gpio/gpio-sta2x11.c
> index 392fcab06ab8..e07cca0f8d35 100644
> --- a/drivers/gpio/gpio-sta2x11.c
> +++ b/drivers/gpio/gpio-sta2x11.c
> @@ -324,7 +324,7 @@ static int gsta_alloc_irq_chip(struct gsta_gpio *chip)
>         if (rv)
>                 return rv;
>
> -       /* Set up all all 128 interrupts: code from setup_generic_chip */
> +       /* Set up all 128 interrupts: code from setup_generic_chip */
>         {
>                 struct irq_chip_type *ct = gc->chip_types;
>                 int i, j;
> --
> 2.34.1
>

Applied, thanks!

Bart
diff mbox series

Patch

diff --git a/drivers/gpio/gpio-sta2x11.c b/drivers/gpio/gpio-sta2x11.c
index 392fcab06ab8..e07cca0f8d35 100644
--- a/drivers/gpio/gpio-sta2x11.c
+++ b/drivers/gpio/gpio-sta2x11.c
@@ -324,7 +324,7 @@  static int gsta_alloc_irq_chip(struct gsta_gpio *chip)
 	if (rv)
 		return rv;
 
-	/* Set up all all 128 interrupts: code from setup_generic_chip */
+	/* Set up all 128 interrupts: code from setup_generic_chip */
 	{
 		struct irq_chip_type *ct = gc->chip_types;
 		int i, j;