Skip to contentSkip to conversation

samples/hid: Fix spelling mistake "wihout" -> "without"

PATCH Applied Colin Ian King 3 participants 3 messages Nov 16, 2022 – Nov 21, 2022

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 samples/hid: Fix spelling mistake "wihout" -> "without"

There is a spelling mistake in a comment and a usage message. Fix them.

---
 samples/hid/hid_surface_dial.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
samples/hid/hid_surface_dial.c +2 -2
index bceea53d39b0..4bc97373a708 100644
@@ -4,7 +4,7 @@
  * This program will morph the Microsoft Surface Dial into a mouse,
  * and depending on the chosen resolution enable or not the haptic feedback:
  * - a resolution (-r) of 3600 will report 3600 "ticks" in one full rotation
- *   wihout haptic feedback
+ *   without haptic feedback
  * - any other resolution will report N "ticks" in a full rotation with haptic
  *   feedback
  *
@@ -57,7 +57,7 @@ static void usage(const char *prog)
 		"This program will morph the Microsoft Surface Dial into a mouse,\n"
 		"and depending on the chosen resolution enable or not the haptic feedback:\n"
 		"- a resolution (-r) of 3600 will report 3600 'ticks' in one full rotation\n"
-		"  wihout haptic feedback\n"
+		"  without haptic feedback\n"
 		"- any other resolution will report N 'ticks' in a full rotation with haptic\n"
 		"  feedback\n"
 		"\n"
Signature · 1 line
2.38.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 2 lines · Colin Ian King

There is a spelling mistake in a comment and a usage message. Fix them.

Good catch

Cheers,
Benjamin

Quoted 31 lines
---
 samples/hid/hid_surface_dial.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
samples/hid/hid_surface_dial.c +2 -3
index bceea53d39b0..4bc97373a708 100644
@@ -4,7 +4,7 @@
  * This program will morph the Microsoft Surface Dial into a mouse,
  * and depending on the chosen resolution enable or not the haptic feedback:
  * - a resolution (-r) of 3600 will report 3600 "ticks" in one full rotation
- *   wihout haptic feedback
+ *   without haptic feedback
  * - any other resolution will report N "ticks" in a full rotation with haptic
  *   feedback
  *
@@ -57,7 +57,7 @@ static void usage(const char *prog)
                "This program will morph the Microsoft Surface Dial into a mouse,\n"
                "and depending on the chosen resolution enable or not the haptic feedback:\n"
                "- a resolution (-r) of 3600 will report 3600 'ticks' in one full rotation\n"
-               "  wihout haptic feedback\n"
+               "  without haptic feedback\n"
                "- any other resolution will report N 'ticks' in a full rotation with haptic\n"
                "  feedback\n"
                "\n"
--

2.38.1

maintainer Applied
#2 lore raw
In reply to Colin Ian King
Quoted 21 lines · Colin Ian King

There is a spelling mistake in a comment and a usage message. Fix them.

---
 samples/hid/hid_surface_dial.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
samples/hid/hid_surface_dial.c +1 -1
index bceea53d39b0..4bc97373a708 100644
@@ -4,7 +4,7 @@
  * This program will morph the Microsoft Surface Dial into a mouse,
  * and depending on the chosen resolution enable or not the haptic feedback:
  * - a resolution (-r) of 3600 will report 3600 "ticks" in one full rotation
- *   wihout haptic feedback
+ *   without haptic feedback
  * - any other resolution will report N "ticks" in a full rotation with haptic
  *   feedback
  *

samples/hid/hid_surface_dial.c static void usage(const char *prog) · line 62

Quoted 7 lines
samples/hid/hid_surface_dial.c +1 -1
@@ -57,7 +57,7 @@ static void usage(const char *prog)
 		"This program will morph the Microsoft Surface Dial into a mouse,\n"
 		"and depending on the chosen resolution enable or not the haptic feedback:\n"
 		"- a resolution (-r) of 3600 will report 3600 'ticks' in one full rotation\n"
-		"  wihout haptic feedback\n"
+		"  without haptic feedback\n"
 		"- any other resolution will report N 'ticks' in a full rotation with haptic\n"
 		"  feedback\n"

Applied, thanks.

Signature · 2 lines
Jiri Kosina
SUSE Labs