[PATCH] gpio: sim: fix a typo in comment

Bartosz Golaszewski posted 1 patch 2 years, 6 months ago
drivers/gpio/gpio-sim.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] gpio: sim: fix a typo in comment
Posted by Bartosz Golaszewski 2 years, 6 months ago
From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>

It was supposed to say 'for' not 'fo'.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
---
 drivers/gpio/gpio-sim.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpio/gpio-sim.c b/drivers/gpio/gpio-sim.c
index 8b49b0abacd5..cfbdade841e8 100644
--- a/drivers/gpio/gpio-sim.c
+++ b/drivers/gpio/gpio-sim.c
@@ -488,7 +488,7 @@ struct gpio_sim_device {
 	 * This structure however can be modified by callbacks of different
 	 * attributes so we need another lock.
 	 *
-	 * We use this lock fo protecting all data structures owned by this
+	 * We use this lock for protecting all data structures owned by this
 	 * object too.
 	 */
 	struct mutex lock;
-- 
2.39.2
Re: [PATCH] gpio: sim: fix a typo in comment
Posted by Andy Shevchenko 2 years, 6 months ago
On Wed, Jul 12, 2023 at 12:01:05PM +0200, Bartosz Golaszewski wrote:
> From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
> 
> It was supposed to say 'for' not 'fo'.

Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>

Perhaps you can you run codespell and fix all problematic places at once?

-- 
With Best Regards,
Andy Shevchenko
Re: [PATCH] gpio: sim: fix a typo in comment
Posted by Bartosz Golaszewski 2 years, 6 months ago
On Wed, Jul 12, 2023 at 5:50 PM Andy Shevchenko
<andriy.shevchenko@linux.intel.com> wrote:
>
> On Wed, Jul 12, 2023 at 12:01:05PM +0200, Bartosz Golaszewski wrote:
> > From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
> >
> > It was supposed to say 'for' not 'fo'.
>
> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
>
> Perhaps you can you run codespell and fix all problematic places at once?
>
> --
> With Best Regards,
> Andy Shevchenko
>
>

This is the only one reported by codespell. Thanks.

Bart