2022-08-04 12:37:04

by Jason Wang

[permalink] [raw]
Subject: [PATCH] Input: joydev - Fix comment typo

The double `from' is duplicated in the comment, remove one.

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

diff --git a/drivers/input/joydev.c b/drivers/input/joydev.c
index b45ddb457002..5824bca02e5a 100644
--- a/drivers/input/joydev.c
+++ b/drivers/input/joydev.c
@@ -746,7 +746,7 @@ static void joydev_cleanup(struct joydev *joydev)
}

/*
- * These codes are copied from from hid-ids.h, unfortunately there is no common
+ * These codes are copied from hid-ids.h, unfortunately there is no common
* usb_ids/bt_ids.h header.
*/
#define USB_VENDOR_ID_SONY 0x054c
--
2.35.1



2022-09-25 07:40:10

by Dmitry Torokhov

[permalink] [raw]
Subject: Re: [PATCH] Input: joydev - Fix comment typo

On Thu, Aug 04, 2022 at 08:08:00PM +0800, Jason Wang wrote:
> The double `from' is duplicated in the comment, remove one.
>
> Signed-off-by: Jason Wang <[email protected]>

Applied, thank you.

--
Dmitry