2022-06-21 12:32:01

by Jiang Jian

[permalink] [raw]
Subject: [PATCH] ID: intel-ish-hid: hid-client: drop unexpected word "the" in the comments

there is an unexpected word "the" in the comments that need to be dropped

file: drivers/hid/intel-ish-hid/ishtp-hid-client.c
line: 331
* @device: Pointer to the the ishtp client device for which this message
changed to
* @device: Pointer to the ishtp client device for which this message

Signed-off-by: Jiang Jian <[email protected]>
---
drivers/hid/intel-ish-hid/ishtp-hid-client.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/hid/intel-ish-hid/ishtp-hid-client.c b/drivers/hid/intel-ish-hid/ishtp-hid-client.c
index 4338c9b68a43..e3d70c5460e9 100644
--- a/drivers/hid/intel-ish-hid/ishtp-hid-client.c
+++ b/drivers/hid/intel-ish-hid/ishtp-hid-client.c
@@ -328,7 +328,7 @@ static void process_recv(struct ishtp_cl *hid_ishtp_cl, void *recv_buf,

/**
* ish_cl_event_cb() - bus driver callback for incoming message/packet
- * @device: Pointer to the the ishtp client device for which this message
+ * @device: Pointer to the ishtp client device for which this message
* is targeted
*
* Remove the packet from the list and process the message by calling
--
2.17.1


2022-06-21 15:05:57

by srinivas pandruvada

[permalink] [raw]
Subject: Re: [PATCH] ID: intel-ish-hid: hid-client: drop unexpected word "the" in the comments

On Tue, 2022-06-21 at 20:27 +0800, Jiang Jian wrote:
> there is an unexpected word "the" in the comments that need to be
> dropped
>
> file: drivers/hid/intel-ish-hid/ishtp-hid-client.c
> line: 331
>  * @device: Pointer to the the ishtp client device for which this
> message
> changed to
>  * @device: Pointer to the ishtp client device for which this message
>
> Signed-off-by: Jiang Jian <[email protected]>
Acked-by: Srinivas Pandruvada <[email protected]>

> ---
>  drivers/hid/intel-ish-hid/ishtp-hid-client.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/hid/intel-ish-hid/ishtp-hid-client.c
> b/drivers/hid/intel-ish-hid/ishtp-hid-client.c
> index 4338c9b68a43..e3d70c5460e9 100644
> --- a/drivers/hid/intel-ish-hid/ishtp-hid-client.c
> +++ b/drivers/hid/intel-ish-hid/ishtp-hid-client.c
> @@ -328,7 +328,7 @@ static void process_recv(struct ishtp_cl
> *hid_ishtp_cl, void *recv_buf,
>  
>  /**
>   * ish_cl_event_cb() - bus driver callback for incoming
> message/packet
> - * @device:    Pointer to the the ishtp client device for which this
> message
> + * @device:    Pointer to the ishtp client device for which this
> message
>   *             is targeted
>   *
>   * Remove the packet from the list and process the message by
> calling

2022-07-21 10:22:58

by Jiri Kosina

[permalink] [raw]
Subject: Re: [PATCH] ID: intel-ish-hid: hid-client: drop unexpected word "the" in the comments

On Tue, 21 Jun 2022, Jiang Jian wrote:

> there is an unexpected word "the" in the comments that need to be dropped
>
> file: drivers/hid/intel-ish-hid/ishtp-hid-client.c
> line: 331
> * @device: Pointer to the the ishtp client device for which this message
> changed to
> * @device: Pointer to the ishtp client device for which this message
>
> Signed-off-by: Jiang Jian <[email protected]>
> ---
> drivers/hid/intel-ish-hid/ishtp-hid-client.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/hid/intel-ish-hid/ishtp-hid-client.c b/drivers/hid/intel-ish-hid/ishtp-hid-client.c
> index 4338c9b68a43..e3d70c5460e9 100644
> --- a/drivers/hid/intel-ish-hid/ishtp-hid-client.c
> +++ b/drivers/hid/intel-ish-hid/ishtp-hid-client.c
> @@ -328,7 +328,7 @@ static void process_recv(struct ishtp_cl *hid_ishtp_cl, void *recv_buf,
>
> /**
> * ish_cl_event_cb() - bus driver callback for incoming message/packet
> - * @device: Pointer to the the ishtp client device for which this message
> + * @device: Pointer to the ishtp client device for which this message
> * is targeted
> *

Applied, thank you.

--
Jiri Kosina
SUSE Labs