]> git.baikalelectronics.ru Git - kernel.git/commitdiff
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 d3a32b8064994862e319ab3ceba510ec0d74ded8..0e40418ad287d5f0f893f3d95edd778adc41206c 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;