OSDN Git Service

extcon: Modify the name of EXTCON_USB_HOST connector
authorChanwoo Choi <cw00.choi@samsung.com>
Fri, 6 Jan 2017 20:17:36 +0000 (05:17 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Mon, 9 Jan 2017 01:04:58 +0000 (10:04 +0900)
This patch renames the EXTCON_USB_HOST by using '-' char because
the name of all external connector use the '-' char instead of '_' char.
- "USB_HOST" -> "USB-HOST"

Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/extcon/extcon.c

index 768e367..09ac5e7 100644 (file)
@@ -60,7 +60,7 @@ struct __extcon_info {
        [EXTCON_USB_HOST] = {
                .type = EXTCON_TYPE_USB,
                .id = EXTCON_USB_HOST,
-               .name = "USB_HOST",
+               .name = "USB-HOST",
        },
 
        /* Charging external connector */