All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1] gpio: fix several typos
@ 2020-04-19 16:38 Dejin Zheng
  2020-04-24  6:39 ` Bartosz Golaszewski
  0 siblings, 1 reply; 3+ messages in thread
From: Dejin Zheng @ 2020-04-19 16:38 UTC (permalink / raw)
  To: linus.walleij, bgolaszewski, linux-gpio
  Cc: linux-kernel, Dejin Zheng, Andy Shevchenko

Use codespell to fix lots of typos over frontends.

CC: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Dejin Zheng <zhengdejin5@gmail.com>
---
 drivers/gpio/gpio-ftgpio010.c | 2 +-
 drivers/gpio/gpio-mm-lantiq.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gpio/gpio-ftgpio010.c b/drivers/gpio/gpio-ftgpio010.c
index fbddb1662428..4031164780f7 100644
--- a/drivers/gpio/gpio-ftgpio010.c
+++ b/drivers/gpio/gpio-ftgpio010.c
@@ -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.
diff --git a/drivers/gpio/gpio-mm-lantiq.c b/drivers/gpio/gpio-mm-lantiq.c
index f460d71b0c92..538e31fe8903 100644
--- a/drivers/gpio/gpio-mm-lantiq.c
+++ b/drivers/gpio/gpio-mm-lantiq.c
@@ -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)
 {
-- 
2.25.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH v1] gpio: fix several typos
  2020-04-19 16:38 [PATCH v1] gpio: fix several typos Dejin Zheng
@ 2020-04-24  6:39 ` Bartosz Golaszewski
  2020-04-24 15:09   ` Dejin Zheng
  0 siblings, 1 reply; 3+ messages in thread
From: Bartosz Golaszewski @ 2020-04-24  6:39 UTC (permalink / raw)
  To: Dejin Zheng; +Cc: Linus Walleij, linux-gpio, LKML, Andy Shevchenko

niedz., 19 kwi 2020 o 18:38 Dejin Zheng <zhengdejin5@gmail.com> napisał(a):
>
> Use codespell to fix lots of typos over frontends.
>
> CC: Andy Shevchenko <andy.shevchenko@gmail.com>
> Signed-off-by: Dejin Zheng <zhengdejin5@gmail.com>
> ---
>  drivers/gpio/gpio-ftgpio010.c | 2 +-
>  drivers/gpio/gpio-mm-lantiq.c | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/gpio/gpio-ftgpio010.c b/drivers/gpio/gpio-ftgpio010.c
> index fbddb1662428..4031164780f7 100644
> --- a/drivers/gpio/gpio-ftgpio010.c
> +++ b/drivers/gpio/gpio-ftgpio010.c
> @@ -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.
> diff --git a/drivers/gpio/gpio-mm-lantiq.c b/drivers/gpio/gpio-mm-lantiq.c
> index f460d71b0c92..538e31fe8903 100644
> --- a/drivers/gpio/gpio-mm-lantiq.c
> +++ b/drivers/gpio/gpio-mm-lantiq.c
> @@ -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)
>  {
> --
> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH v1] gpio: fix several typos
  2020-04-24  6:39 ` Bartosz Golaszewski
@ 2020-04-24 15:09   ` Dejin Zheng
  0 siblings, 0 replies; 3+ messages in thread
From: Dejin Zheng @ 2020-04-24 15:09 UTC (permalink / raw)
  To: Bartosz Golaszewski; +Cc: Linus Walleij, linux-gpio, LKML, Andy Shevchenko

On Fri, Apr 24, 2020 at 08:39:04AM +0200, Bartosz Golaszewski wrote:
> niedz., 19 kwi 2020 o 18:38 Dejin Zheng <zhengdejin5@gmail.com> napisał(a):
> >
> > Use codespell to fix lots of typos over frontends.
> >
> > CC: Andy Shevchenko <andy.shevchenko@gmail.com>
> > Signed-off-by: Dejin Zheng <zhengdejin5@gmail.com>
> > ---
> >  drivers/gpio/gpio-ftgpio010.c | 2 +-
> >  drivers/gpio/gpio-mm-lantiq.c | 2 +-
> >  2 files changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/drivers/gpio/gpio-ftgpio010.c b/drivers/gpio/gpio-ftgpio010.c
> > index fbddb1662428..4031164780f7 100644
> > --- a/drivers/gpio/gpio-ftgpio010.c
> > +++ b/drivers/gpio/gpio-ftgpio010.c
> > @@ -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.
> > diff --git a/drivers/gpio/gpio-mm-lantiq.c b/drivers/gpio/gpio-mm-lantiq.c
> > index f460d71b0c92..538e31fe8903 100644
> > --- a/drivers/gpio/gpio-mm-lantiq.c
> > +++ b/drivers/gpio/gpio-mm-lantiq.c
> > @@ -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)
> >  {
> > --
> > 2.25.0
> >
> 
> The subject line should be gpio: <name of the driver>: short message
> 
> 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
> Bart

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-04-24 15:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-19 16:38 [PATCH v1] gpio: fix several typos Dejin Zheng
2020-04-24  6:39 ` Bartosz Golaszewski
2020-04-24 15:09   ` Dejin Zheng

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.