summaryrefslogtreecommitdiffstats
path: root/drivers/extcon/extcon.c
diff options
context:
space:
mode:
authorChanwoo Choi <cw00.choi@samsung.com>2017-01-06 21:17:36 +0100
committerChanwoo Choi <cw00.choi@samsung.com>2017-01-09 02:04:58 +0100
commit86d6cda68f371744a28003cb32b51aaf231b7ca5 (patch)
treeffee75233895174e8ac0abbe6a0f4164916088d1 /drivers/extcon/extcon.c
parentextcon: Add new EXTCON_CHG_USB_PD type for USB Power Delivery (diff)
downloadlinux-86d6cda68f371744a28003cb32b51aaf231b7ca5.tar.xz
linux-86d6cda68f371744a28003cb32b51aaf231b7ca5.zip
extcon: Modify the name of EXTCON_USB_HOST connector
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>
Diffstat (limited to 'drivers/extcon/extcon.c')
-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 768e36769870..09ac5e70c2f3 100644
--- a/drivers/extcon/extcon.c
+++ b/drivers/extcon/extcon.c
@@ -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 */