Skip to contentSkip to conversation

gpio: sch: fix typo in a comment

PATCH In review Jason Wang 2 participants 2 messages Dec 12, 2021 – Dec 13, 2021

Subsystems (2)
lore
Share & tools
lore

Jason Wang

author
#0 lore raw

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

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

---
 drivers/gpio/gpio-sch.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/gpio-sch.c +1 -1
index 0600f71462b5..acda4c5052d3 100644
@@ -139,7 +139,7 @@ static int sch_gpio_direction_out(struct gpio_chip *gc, unsigned int gpio_num,
 	/*
 	 * according to the datasheet, writing to the level register has no
 	 * effect when GPIO is programmed as input.
-	 * Actually the the level register is read-only when configured as input.
+	 * Actually the level register is read-only when configured as input.
 	 * Thus presetting the output level before switching to output is _NOT_ possible.
 	 * Hence we set the level after configuring the GPIO as output.
 	 * But we cannot prevent a short low pulse if direction is set to high
Signature · 1 line
2.34.1
#1 lore raw
Quoted 2 lines · Jason Wang

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

Pushed to my review and testing queue, thanks!

Signature · 2 lines
With Best Regards,
Andy Shevchenko