]> git.baikalelectronics.ru Git - kernel.git/commit
extcon: standard cable names definition and declaration changed
authoranish kumar <anish198519851985@gmail.com>
Wed, 29 Aug 2012 19:05:09 +0000 (00:35 +0530)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Mon, 22 Oct 2012 02:28:10 +0000 (11:28 +0900)
commit56ba5d63828c9460509885bafa59610d25362786
tree1a41c7af25323fae9c52eedb2cc43a84420cb2a1
parent4092db6abfa92722b8d60835157aec7e27e5ecf5
extcon: standard cable names definition and declaration changed

With this change now individual drivers can use standard cable
names as below:
static const char *arizona_cable[] = {
    extcon_cable_name[EXTCON_USB],
    extcon_cable_name[EXTCON_USB_HOST],
    "CUSTOM_CABLE"
    NULL,
}

Signed-off-by: anish kumar <anish198519851985@gmail.com>
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
drivers/extcon/extcon-class.c
include/linux/extcon.h