Skip to contentSkip to conversation

gpio: fix several typos

PATCH In review Dejin Zheng 2 participants 3 messages Apr 19, 2020 – Apr 24, 2020 GPIO

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gpio: fix several typos

Use codespell to fix lots of typos over frontends.

CC Andy Shevchenko <[email protected]>
---
 drivers/gpio/gpio-ftgpio010.c | 2 +-
 drivers/gpio/gpio-mm-lantiq.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/gpio/gpio-ftgpio010.c +1 -1
index fbddb1662428..4031164780f7 100644
@@ -193,7 +193,7 @@ static int ftgpio_gpio_set_config(struct gpio_chip *gc, unsigned int offset,
 	if (val == deb_div) {
 		/*
 		 * The debounce timer happens to already be set to the
-		 * desireable value, what a coincidence! We can just enable
+		 * desirable value, what a coincidence! We can just enable
 		 * debounce on this GPIO line and return. This happens more
 		 * often than you think, for example when all GPIO keys
 		 * on a system are requesting the same debounce interval.
drivers/gpio/gpio-mm-lantiq.c +1 -1
index f460d71b0c92..538e31fe8903 100644
@@ -36,7 +36,7 @@ struct ltq_mm {
  * @chip:     Pointer to our private data structure.
  *
  * Write the shadow value to the EBU to set the gpios. We need to set the
- * global EBU lock to make sure that PCI/MTD dont break.
+ * global EBU lock to make sure that PCI/MTD don't break.
  */
 static void ltq_mm_apply(struct ltq_mm *chip)
 {
Signature · 1 line
2.25.0
#1 lore raw

niedz., 19 kwi 2020 o 18:38 Dejin Zheng <[email protected]> napisał(a):

Quoted 37 lines

Use codespell to fix lots of typos over frontends.

CC Andy Shevchenko <[email protected]>
---
 drivers/gpio/gpio-ftgpio010.c | 2 +-
 drivers/gpio/gpio-mm-lantiq.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/gpio/gpio-ftgpio010.c +1 -1
index fbddb1662428..4031164780f7 100644
@@ -193,7 +193,7 @@ static int ftgpio_gpio_set_config(struct gpio_chip *gc, unsigned int offset,
        if (val == deb_div) {
                /*
                 * The debounce timer happens to already be set to the
-                * desireable value, what a coincidence! We can just enable
+                * desirable value, what a coincidence! We can just enable
                 * debounce on this GPIO line and return. This happens more
                 * often than you think, for example when all GPIO keys
                 * on a system are requesting the same debounce interval.
drivers/gpio/gpio-mm-lantiq.c +1 -2
index f460d71b0c92..538e31fe8903 100644
@@ -36,7 +36,7 @@ struct ltq_mm {
  * @chip:     Pointer to our private data structure.
  *
  * Write the shadow value to the EBU to set the gpios. We need to set the
- * global EBU lock to make sure that PCI/MTD dont break.
+ * global EBU lock to make sure that PCI/MTD don't break.
  */
 static void ltq_mm_apply(struct ltq_mm *chip)
 {
--
Quoted 2 lines

2.25.0

The subject line should be gpio: <name of the driver>: short message

And please split those into patches for each driver.

Bart

#2 lore raw
Quoted 43 lines · Bartosz Golaszewski

niedz., 19 kwi 2020 o 18:38 Dejin Zheng <[email protected]> napisał(a):

Quoted 37 lines

Use codespell to fix lots of typos over frontends.

CC Andy Shevchenko <[email protected]>
---
 drivers/gpio/gpio-ftgpio010.c | 2 +-
 drivers/gpio/gpio-mm-lantiq.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/gpio/gpio-ftgpio010.c +1 -1
index fbddb1662428..4031164780f7 100644
@@ -193,7 +193,7 @@ static int ftgpio_gpio_set_config(struct gpio_chip *gc, unsigned int offset,
        if (val == deb_div) {
                /*
                 * The debounce timer happens to already be set to the
-                * desireable value, what a coincidence! We can just enable
+                * desirable value, what a coincidence! We can just enable
                 * debounce on this GPIO line and return. This happens more
                 * often than you think, for example when all GPIO keys
                 * on a system are requesting the same debounce interval.
drivers/gpio/gpio-mm-lantiq.c +1 -2
index f460d71b0c92..538e31fe8903 100644
@@ -36,7 +36,7 @@ struct ltq_mm {
  * @chip:     Pointer to our private data structure.
  *
  * Write the shadow value to the EBU to set the gpios. We need to set the
- * global EBU lock to make sure that PCI/MTD dont break.
+ * global EBU lock to make sure that PCI/MTD don't break.
  */
 static void ltq_mm_apply(struct ltq_mm *chip)
 {
--
Quoted 2 lines

2.25.0

The subject line should be gpio: <name of the driver>: short message

Quoted 2 lines

And please split those into patches for each driver.

Hi Bart:

Thanks for your review, I will send the patch v2 for this change.

BR,
Dejin

Quoted 1 line

Bart