gpio: sch: fix typo in a comment
authorJason Wang <wangborong@cdjrlc.com>
Sun, 12 Dec 2021 03:11:08 +0000 (11:11 +0800)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 13 Dec 2021 11:29:09 +0000 (13:29 +0200)
The double `the' in the comment in line 142 is repeated. Remove one
of them from the comment.

Signed-off-by: Jason Wang <wangborong@cdjrlc.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/gpio/gpio-sch.c

index 0600f71462b5655b1994d3ae8119b0891d497bb0..acda4c5052d38a040319f6e5734dd7050022457a 100644 (file)
@@ -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