diff mbox series

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

Message ID 20221116093943.597572-1-colin.i.king@gmail.com (mailing list archive)
State Mainlined
Commit 2364b5060d780476b7455f38e3a2c7e14cc3406e
Headers show
Series [next] samples/hid: Fix spelling mistake "wihout" -> "without" | expand

Commit Message

Colin Ian King Nov. 16, 2022, 9:39 a.m. UTC
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>
---
 samples/hid/hid_surface_dial.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Benjamin Tissoires Nov. 16, 2022, 10:32 a.m. UTC | #1
On Wed, Nov 16, 2022 at 10:39 AM Colin Ian King <colin.i.king@gmail.com> wrote:
>
> There is a spelling mistake in a comment and a usage message. Fix them.

Good catch

Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>

Cheers,
Benjamin

>
> Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
> ---
>  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
>
Jiri Kosina Nov. 21, 2022, 9:12 p.m. UTC | #2
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 <colin.i.king@gmail.com>
> ---
>  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.
diff mbox series

Patch

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"