Skip to contentSkip to conversation

gpio: sim: fix a typo in comment

PATCH In review Bartosz Golaszewski 2 participants 3 messages Jul 12, 2023 GPIO

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gpio: sim: fix a typo in comment

From: Bartosz Golaszewski <[email protected]>

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

---
 drivers/gpio/gpio-sim.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/gpio-sim.c +1 -1
index 8b49b0abacd5..cfbdade841e8 100644
@@ -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;
Signature · 1 line
2.39.2
#2 lore raw
Quoted 6 lines · Andy Shevchenko
Quoted 3 lines · Bartosz Golaszewski

From: Bartosz Golaszewski <[email protected]>

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

Quoted 9 lines

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