2022-11-16 10:58:14

by Colin Ian King

[permalink] [raw]
Subject: [PATCH][next] 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 <[email protected]>
---
samples/hid/hid_surface_dial.c | 4 ++--
1 file 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"
--
2.38.1



2022-11-16 11:03:49

by Benjamin Tissoires

[permalink] [raw]
Subject: Re: [PATCH][next] samples/hid: Fix spelling mistake "wihout" -> "without"

On Wed, Nov 16, 2022 at 10:39 AM Colin Ian King <[email protected]> wrote:
>
> There is a spelling mistake in a comment and a usage message. Fix them.

Good catch

Reviewed-by: Benjamin Tissoires <[email protected]>

Cheers,
Benjamin

>
> Signed-off-by: Colin Ian King <[email protected]>
> ---
> samples/hid/hid_surface_dial.c | 4 ++--
> 1 file 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"
> --
> 2.38.1
>


2022-11-21 21:42:15

by Jiri Kosina

[permalink] [raw]
Subject: Re: [PATCH][next] samples/hid: Fix spelling mistake "wihout" -> "without"

On Wed, 16 Nov 2022, Colin Ian King wrote:

> There is a spelling mistake in a comment and a usage message. Fix them.
>
> Signed-off-by: Colin Ian King <[email protected]>
> ---
> samples/hid/hid_surface_dial.c | 4 ++--
> 1 file 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"

Applied, thanks.

--
Jiri Kosina
SUSE Labs