samples/hid: Fix spelling mistake "wihout" -> "without"
authorColin Ian King <colin.i.king@gmail.com>
Wed, 16 Nov 2022 09:39:43 +0000 (09:39 +0000)
committerJiri Kosina <jkosina@suse.cz>
Mon, 21 Nov 2022 21:11:52 +0000 (22:11 +0100)
There is a spelling mistake in a comment and a usage message. Fix them.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
samples/hid/hid_surface_dial.c

index bceea53..4bc9737 100644 (file)
@@ -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"