2022-07-18 14:34:01

by Jason Wang

[permalink] [raw]
Subject: [PATCH] HID: lg-g15: Fix comment typo

The double `with' is duplicated in line 769, remove one.

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

diff --git a/drivers/hid/hid-lg-g15.c b/drivers/hid/hid-lg-g15.c
index b2a08233f8d5..c8f82bcbf1ab 100644
--- a/drivers/hid/hid-lg-g15.c
+++ b/drivers/hid/hid-lg-g15.c
@@ -766,7 +766,7 @@ static int lg_g15_probe(struct hid_device *hdev, const struct hid_device_id *id)

/*
* Some models have multiple interfaces, we want the interface with
- * with the f000.0000 application input report.
+ * the f000.0000 application input report.
*/
rep_enum = &hdev->report_enum[HID_INPUT_REPORT];
list_for_each_entry(rep, &rep_enum->report_list, list) {
--
2.35.1


2022-07-18 14:49:58

by Hans de Goede

[permalink] [raw]
Subject: Re: [PATCH] HID: lg-g15: Fix comment typo

Hi,

On 7/15/22 07:43, Jason Wang wrote:
> The double `with' is duplicated in line 769, remove one.
>
> Signed-off-by: Jason Wang <[email protected]>

Thanks, patch looks good to me:

Reviewed-by: Hans de Goede <[email protected]>

Regards,

Hans


> ---
> drivers/hid/hid-lg-g15.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/hid/hid-lg-g15.c b/drivers/hid/hid-lg-g15.c
> index b2a08233f8d5..c8f82bcbf1ab 100644
> --- a/drivers/hid/hid-lg-g15.c
> +++ b/drivers/hid/hid-lg-g15.c
> @@ -766,7 +766,7 @@ static int lg_g15_probe(struct hid_device *hdev, const struct hid_device_id *id)
>
> /*
> * Some models have multiple interfaces, we want the interface with
> - * with the f000.0000 application input report.
> + * the f000.0000 application input report.
> */
> rep_enum = &hdev->report_enum[HID_INPUT_REPORT];
> list_for_each_entry(rep, &rep_enum->report_list, list) {