2022-09-08 13:06:04

by wangjianli

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

Delete the redundant word 'in'.

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 a1c61f5de047..fd25679af251 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 in the chip.
*/

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


2022-09-08 14:03:53

by Randy Dunlap

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



On 9/8/22 05:28, wangjianli wrote:
> Delete the redundant word 'in'.
>
> 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 a1c61f5de047..fd25679af251 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.

enables it in the chip.

> + * It allocates the interrupt and enables in the chip.
> */
>
> static int q40kbd_open(struct serio *port)

--
~Randy