Skip to contentSkip to conversation

gpio: sta2x11: fix typo in a comment

PATCH Applied Jason Wang 2 participants 2 messages Dec 12, 2021 – Dec 13, 2021 GPIO

lore
Share & tools
lore

Jason Wang

author
#0 lore raw

PATCH 1/1 gpio: sta2x11: fix typo in a comment

The double `all' in the comment in line 327 is repeated. Remove one of them from the comment.

---
 drivers/gpio/gpio-sta2x11.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/gpio-sta2x11.c +1 -1
index 392fcab06ab8..e07cca0f8d35 100644
@@ -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;
Signature · 1 line
2.34.1
#1 lore raw
Quoted 23 lines · Jason Wang

The double `all' in the comment in line 327 is repeated. Remove one of them from the comment.

---
 drivers/gpio/gpio-sta2x11.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/gpio-sta2x11.c +1 -2
index 392fcab06ab8..e07cca0f8d35 100644
@@ -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;
--
Quoted 2 lines

2.34.1

Applied, thanks!

Bart