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

Jiang Jian posted 1 patch 3 years, 10 months ago
drivers/hid/intel-ish-hid/ishtp-hid-client.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] ID: intel-ish-hid: hid-client: drop unexpected word "the" in the comments
Posted by Jiang Jian 3 years, 10 months ago
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 <jiangjian@cdjrlc.com>
---
 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
Re: [PATCH] ID: intel-ish-hid: hid-client: drop unexpected word "the" in the comments
Posted by Jiri Kosina 3 years, 9 months ago
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 <jiangjian@cdjrlc.com>
> ---
>  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
Re: [PATCH] ID: intel-ish-hid: hid-client: drop unexpected word "the" in the comments
Posted by srinivas pandruvada 3 years, 10 months ago
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 <jiangjian@cdjrlc.com>
Acked-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>

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