diff mbox series

gpio: sim: fix a typo in comment

Message ID 20230712100105.105889-1-brgl@bgdev.pl
State New
Headers show
Series gpio: sim: fix a typo in comment | expand

Commit Message

Bartosz Golaszewski July 12, 2023, 10:01 a.m. UTC
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(-)

Comments

Andy Shevchenko July 12, 2023, 3:50 p.m. UTC | #1
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?
Bartosz Golaszewski July 12, 2023, 4:21 p.m. UTC | #2
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
diff mbox series

Patch

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;