summaryrefslogtreecommitdiffstats
path: root/drivers/extcon
diff options
context:
space:
mode:
authorJiang Jian <jiangjian@cdjrlc.com>2022-06-21 19:50:03 +0800
committerChanwoo Choi <cw00.choi@samsung.com>2022-07-15 11:37:40 +0900
commit97e1bb93e7211f5468d0ebc9007331b58a074461 (patch)
tree6016b23f8ea4748ca76005f9b44aa10855d0e1d7 /drivers/extcon
parent2fb67280fd83f0f40ef4ae73aa1b9fbec075c13b (diff)
downloadlinux-stable-97e1bb93e7211f5468d0ebc9007331b58a074461.tar.gz
linux-stable-97e1bb93e7211f5468d0ebc9007331b58a074461.tar.bz2
linux-stable-97e1bb93e7211f5468d0ebc9007331b58a074461.zip
extcon: Drop unexpected word "the" in the comments
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> Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Diffstat (limited to 'drivers/extcon')
-rw-r--r--drivers/extcon/extcon.c2
1 files changed, 1 insertions, 1 deletions
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;