[PATCH] Input: joydev - Fix comment typo

Jason Wang posted 1 patch 3 years, 8 months ago
drivers/input/joydev.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] Input: joydev - Fix comment typo
Posted by Jason Wang 3 years, 8 months ago
The double `from' is duplicated in the comment, remove one.

Signed-off-by: Jason Wang <wangborong@cdjrlc.com>
---
 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
Re: [PATCH] Input: joydev - Fix comment typo
Posted by Dmitry Torokhov 3 years, 6 months ago
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 <wangborong@cdjrlc.com>

Applied, thank you.

-- 
Dmitry