linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] extcon: drop unexpected word "the" in the comments
@ 2022-06-21 11:50 Jiang Jian
  2022-06-22 20:01 ` Chanwoo Choi
  0 siblings, 1 reply; 2+ messages in thread
From: Jiang Jian @ 2022-06-21 11:50 UTC (permalink / raw)
  To: myungjoo.ham, cw00.choi; +Cc: linux-kernel, Jiang Jian

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

file: ./drivers/extcon/extcon.c
line: 250

/* Find the the index of extcon cable in edev->supported_cable */
changed to
/* Find the index of extcon cable in edev->supported_cable */

Signed-off-by: Jiang Jian <jiangjian@cdjrlc.com>
---
 drivers/extcon/extcon.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/extcon/extcon.c b/drivers/extcon/extcon.c
index d3a32b806499..0e40418ad287 100644
--- a/drivers/extcon/extcon.c
+++ b/drivers/extcon/extcon.c
@@ -247,7 +247,7 @@ static int find_cable_index_by_id(struct extcon_dev *edev, const unsigned int id
 {
 	int i;
 
-	/* Find the the index of extcon cable in edev->supported_cable */
+	/* Find the index of extcon cable in edev->supported_cable */
 	for (i = 0; i < edev->max_supported; i++) {
 		if (edev->supported_cable[i] == id)
 			return i;
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] extcon: drop unexpected word "the" in the comments
  2022-06-21 11:50 [PATCH] extcon: drop unexpected word "the" in the comments Jiang Jian
@ 2022-06-22 20:01 ` Chanwoo Choi
  0 siblings, 0 replies; 2+ messages in thread
From: Chanwoo Choi @ 2022-06-22 20:01 UTC (permalink / raw)
  To: Jiang Jian, myungjoo.ham, cw00.choi; +Cc: linux-kernel

On 22. 6. 21. 20:50, Jiang Jian wrote:
> there is an unexpected word "the" in the comments that need to be dropped
> 
> file: ./drivers/extcon/extcon.c
> line: 250
> 
> /* Find the the index of extcon cable in edev->supported_cable */
> changed to
> /* Find the index of extcon cable in edev->supported_cable */
> 
> Signed-off-by: Jiang Jian <jiangjian@cdjrlc.com>
> ---
>  drivers/extcon/extcon.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/extcon/extcon.c b/drivers/extcon/extcon.c
> index d3a32b806499..0e40418ad287 100644
> --- a/drivers/extcon/extcon.c
> +++ b/drivers/extcon/extcon.c
> @@ -247,7 +247,7 @@ static int find_cable_index_by_id(struct extcon_dev *edev, const unsigned int id
>  {
>  	int i;
>  
> -	/* Find the the index of extcon cable in edev->supported_cable */
> +	/* Find the index of extcon cable in edev->supported_cable */
>  	for (i = 0; i < edev->max_supported; i++) {
>  		if (edev->supported_cable[i] == id)
>  			return i;

Use captitla letter of first char as following:
- extcon: Drop unexpected word "the" in the comments

Applied it.

-- 
Best Regards,
Samsung Electronics
Chanwoo Choi

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-06-22 20:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-21 11:50 [PATCH] extcon: drop unexpected word "the" in the comments Jiang Jian
2022-06-22 20:01 ` Chanwoo Choi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).