Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1553097

[PATCH 2/2] extcon: Modify the name of EXTCON_USB_HOST connector

From chanwoo@kernel.org
Newsgroups linux.kernel
Subject [PATCH 2/2] extcon: Modify the name of EXTCON_USB_HOST connector
Date 2017-01-06 21:50 +0100
Message-ID <sWJCx-7a6-5@gated-at.bofh.it> (permalink)
References <sWJCx-7a6-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Chanwoo Choi <cw00.choi@samsung.com>

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 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/extcon/extcon.c b/drivers/extcon/extcon.c
index 768e367..09ac5e7 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 */
-- 
1.9.1

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH 2/2] extcon: Modify the name of EXTCON_USB_HOST connector chanwoo@kernel.org - 2017-01-06 21:50 +0100

csiph-web