2022-10-19 14:09:32

by wangjianli

[permalink] [raw]
Subject: [PATCH] input/serio: fix typo in comments

Delete the redundant word 'in', and add a word it.

Signed-off-by: wangjianli <[email protected]>
---
drivers/input/serio/q40kbd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/input/serio/q40kbd.c b/drivers/input/serio/q40kbd.c
index bd248398556a..ebc9f9941be0 100644
--- a/drivers/input/serio/q40kbd.c
+++ b/drivers/input/serio/q40kbd.c
@@ -81,7 +81,7 @@ static void q40kbd_stop(void)

/*
* q40kbd_open() is called when a port is open by the higher layer.
- * It allocates the interrupt and enables in in the chip.
+ * It allocates the interrupt and enables it in the chip.
*/

static int q40kbd_open(struct serio *port)
--
2.36.1


2022-10-20 08:53:30

by Mattijs Korpershoek

[permalink] [raw]
Subject: Re: [PATCH] input/serio: fix typo in comments

On Wed, Oct 19, 2022 at 20:30, wangjianli <[email protected]> wrote:

> Delete the redundant word 'in', and add a word it.
>
> Signed-off-by: wangjianli <[email protected]>

Reviewed-by: Mattijs Korpershoek <[email protected]>

> ---
> drivers/input/serio/q40kbd.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/input/serio/q40kbd.c b/drivers/input/serio/q40kbd.c
> index bd248398556a..ebc9f9941be0 100644
> --- a/drivers/input/serio/q40kbd.c
> +++ b/drivers/input/serio/q40kbd.c
> @@ -81,7 +81,7 @@ static void q40kbd_stop(void)
>
> /*
> * q40kbd_open() is called when a port is open by the higher layer.
> - * It allocates the interrupt and enables in in the chip.
> + * It allocates the interrupt and enables it in the chip.
> */
>
> static int q40kbd_open(struct serio *port)
> --
> 2.36.1