summaryrefslogtreecommitdiffstats
path: root/samples/hid
diff options
context:
space:
mode:
authorColin Ian King <colin.i.king@gmail.com>2022-11-16 10:39:43 +0100
committerJiri Kosina <jkosina@suse.cz>2022-11-21 22:11:52 +0100
commit2364b5060d780476b7455f38e3a2c7e14cc3406e (patch)
tree4db1bf9be2a9588e671dadbe42860f1c33b5b633 /samples/hid
parentHID: force HID depending on INPUT (diff)
downloadlinux-2364b5060d780476b7455f38e3a2c7e14cc3406e.tar.xz
linux-2364b5060d780476b7455f38e3a2c7e14cc3406e.zip
samples/hid: Fix spelling mistake "wihout" -> "without"
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>
Diffstat (limited to 'samples/hid')
-rw-r--r--samples/hid/hid_surface_dial.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/samples/hid/hid_surface_dial.c b/samples/hid/hid_surface_dial.c
index bceea53d39b0..4bc97373a708 100644
--- a/samples/hid/hid_surface_dial.c
+++ b/samples/hid/hid_surface_dial.c
@@ -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"