mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Chanwoo Choi <cwchoi00@gmail.com>
To: Jiang Jian <jiangjian@cdjrlc.com>,
	myungjoo.ham@samsung.com, cw00.choi@samsung.com
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] extcon: drop unexpected word "the" in the comments
Date: Thu, 23 Jun 2022 05:01:15 +0900	[thread overview]
Message-ID: <5f74021a-c838-fcdb-7486-ef2eee12f4ce@gmail.com> (raw)
In-Reply-To: <20220621115003.109395-1-jiangjian@cdjrlc.com>

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

      reply	other threads:[~2022-06-22 20:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-21 11:50 Jiang Jian
2022-06-22 20:01 ` Chanwoo Choi [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5f74021a-c838-fcdb-7486-ef2eee12f4ce@gmail.com \
    --to=cwchoi00@gmail.com \
    --cc=cw00.choi@samsung.com \
    --cc=jiangjian@cdjrlc.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=myungjoo.ham@samsung.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®