gpio: fix several typos
v2 cover gpio: fix several typos
Use codespell to fix two typos in ftgpio010 and mm-lantiq drivers. s/desireable/desirable/ for ftgpio010 driver. s/dont/don't/ for mm-lantiq driver.
v1 -> v2:
- split patch v1 (only one patch) into patches for each driver by Bartosz's suggestion. thanks Bartosz.
Dejin Zheng (2):
gpio: ftgpio010: Fix small typo
gpio: mm-lantiq: Fix small typo
drivers/gpio/gpio-ftgpio010.c | 2 +- drivers/gpio/gpio-mm-lantiq.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
Signature · 1 line
2.25.0
PATCH v2 1/2 gpio: ftgpio010: Fix small typo
Fix a spelling typo in gpio-ftgpio010.c by codespell s/desireable/desirable/
---
v1 -> v2:
- split patch v1 (only one patch) into patches for each driver by Bartosz's suggestion. thanks Bartosz.
drivers/gpio/gpio-ftgpio010.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/gpio-ftgpio010.c +1 -1
@@ -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.
Signature · 1 line
2.25.0
PATCH v2 2/2 gpio: mm-lantiq: Fix small typo
In reply to Dejin ZhengFix a spelling typo in gpio-mm-lantiq.c by codespell s/dont/don't/
---
v1 -> v2:
- split patch v1 (only one patch) into patches for each driver by Bartosz's suggestion. thanks Bartosz.
drivers/gpio/gpio-mm-lantiq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/gpio-mm-lantiq.c +1 -1
@@ -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
Re: [PATCH v2 1/2] gpio: ftgpio010: Fix small typo
In reply to Dejin ZhengQuoted 9 lines · Dejin Zheng
Fix a spelling typo in
gpio-ftgpio010.cby codespell s/desireable/desirable/Cc Andy Shevchenko <[email protected]>Signed-off-by Dejin Zheng <[email protected]>---
v1 -> v2:
- split patch v1 (only one patch) into patches for each driver by Bartosz's suggestion. thanks Bartosz.
Patch applied.
Yours,
Linus Walleij
Re: [PATCH v2 2/2] gpio: mm-lantiq: Fix small typo
In reply to Dejin ZhengQuoted 9 lines · Dejin Zheng
Fix a spelling typo in
gpio-mm-lantiq.cby codespell s/dont/don't/Cc Andy Shevchenko <[email protected]>Signed-off-by Dejin Zheng <[email protected]>---
v1 -> v2:
- split patch v1 (only one patch) into patches for each driver by Bartosz's suggestion. thanks Bartosz.
Andy: since this is an Intel product are you picking it up? I think this Intel-MIPS platform is a bit of a special case so I can also handle it if you prefer.
Yours,
Linus Walleij
Re: [PATCH v2 2/2] gpio: mm-lantiq: Fix small typo
Quoted 13 lines · Linus Walleij
Quoted 9 lines · Dejin Zheng
Fix a spelling typo in
gpio-mm-lantiq.cby codespell s/dont/don't/Cc Andy Shevchenko <[email protected]>Signed-off-by Dejin Zheng <[email protected]>---
v1 -> v2:
- split patch v1 (only one patch) into patches for each driver by Bartosz's suggestion. thanks Bartosz.
Quoted 5 lines
Acked-by Linus Walleij <[email protected]>Andy: since this is an Intel product are you picking it up? I think this Intel-MIPS platform is a bit of a special case so I can also handle it if you prefer.
I only collecting stuff for x86 base Intel, this one is MIPS, so, please take it directly if you are okay with it.
Signature · 2 lines
With Best Regards, Andy Shevchenko
Re: [PATCH v2 2/2] gpio: mm-lantiq: Fix small typo
In reply to Dejin ZhengQuoted 9 lines · Dejin Zheng
Fix a spelling typo in
gpio-mm-lantiq.cby codespell s/dont/don't/Cc Andy Shevchenko <[email protected]>Signed-off-by Dejin Zheng <[email protected]>---
v1 -> v2:
- split patch v1 (only one patch) into patches for each driver by Bartosz's suggestion. thanks Bartosz.
Patch applied.
Yours,
Linus Walleij