[PATCH] HID: lg-g15: Fix comment typo

Jason Wang posted 1 patch 3 years, 9 months ago
drivers/hid/hid-lg-g15.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] HID: lg-g15: Fix comment typo
Posted by Jason Wang 3 years, 9 months ago
The double `with' is duplicated in line 769, remove one.

Signed-off-by: Jason Wang <wangborong@cdjrlc.com>
---
 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
Re: [PATCH] HID: lg-g15: Fix comment typo
Posted by Hans de Goede 3 years, 9 months ago
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 <wangborong@cdjrlc.com>

Thanks, patch looks good to me:

Reviewed-by: Hans de Goede <hdegoede@redhat.com>

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) {