linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] gpio: sta2x11: fix typo in a comment
@ 2021-12-12  3:13 Jason Wang
  2021-12-13 13:48 ` Bartosz Golaszewski
  0 siblings, 1 reply; 2+ messages in thread
From: Jason Wang @ 2021-12-12  3:13 UTC (permalink / raw)
  To: brgl; +Cc: linus.walleij, linux-gpio, linux-kernel, Jason Wang

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] gpio: sta2x11: fix typo in a comment
  2021-12-12  3:13 [PATCH] gpio: sta2x11: fix typo in a comment Jason Wang
@ 2021-12-13 13:48 ` Bartosz Golaszewski
  0 siblings, 0 replies; 2+ messages in thread
From: Bartosz Golaszewski @ 2021-12-13 13:48 UTC (permalink / raw)
  To: wangborong
  Cc: Linus Walleij, open list:GPIO SUBSYSTEM,
	Linux Kernel Mailing List

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-12-13 13:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-12  3:13 [PATCH] gpio: sta2x11: fix typo in a comment Jason Wang
2021-12-13 13:48 ` Bartosz Golaszewski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).