Re: [PATCH] gpio: sta2x11: fix typo in a comment

From: Bartosz Golaszewski
Date: Mon Dec 13 2021 - 08:48:21 EST


On Sun, Dec 12, 2021 at 4:13 AM Jason Wang <wangborong@xxxxxxxxxx> 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@xxxxxxxxxx>
> ---
> 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