aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-sch.c
diff options
context:
space:
mode:
authorJason Wang <wangborong@cdjrlc.com>2021-12-12 11:11:08 +0800
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>2021-12-13 13:29:09 +0200
commit9d5f0f6644b1404f40266a2682add712dc9931f5 (patch)
tree95f7edb0224956f5864fce9300adf4d06a5e054e /drivers/gpio/gpio-sch.c
parentgpio: dwapb: clarify usage of the register file version (diff)
downloadlinux-dev-9d5f0f6644b1404f40266a2682add712dc9931f5.tar.xz
linux-dev-9d5f0f6644b1404f40266a2682add712dc9931f5.zip
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. Signed-off-by: Jason Wang <wangborong@cdjrlc.com> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'drivers/gpio/gpio-sch.c')
-rw-r--r--drivers/gpio/gpio-sch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-sch.c b/drivers/gpio/gpio-sch.c
index 0600f71462b5..acda4c5052d3 100644
--- a/drivers/gpio/gpio-sch.c
+++ b/drivers/gpio/gpio-sch.c
@@ -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