extcon: Drop unexpected word "the" in the comments
authorJiang Jian <jiangjian@cdjrlc.com>
Tue, 21 Jun 2022 11:50:03 +0000 (19:50 +0800)
committerChanwoo Choi <cw00.choi@samsung.com>
Fri, 15 Jul 2022 02:37:40 +0000 (11:37 +0900)
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>
drivers/extcon/extcon.c

index d3a32b8..0e40418 100644 (file)
@@ -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;