extcon: arizona: Use extcon cable API with index of extcon cable instead of string
authorNikesh Oswal <Nikesh.Oswal@wolfsonmicro.com>
Thu, 29 May 2014 15:27:52 +0000 (16:27 +0100)
committerChanwoo Choi <cw00.choi@samsung.com>
Mon, 16 Jun 2014 04:33:19 +0000 (13:33 +0900)
commit34602486d048910fa9c360519b9512b53382e60f
treeb8a96bf59a9696b34092af4e3c8e497fe743ed49
parent5a8844b596d5a6008b14d2677b426ac7ed7d260b
extcon: arizona: Use extcon cable API with index of extcon cable instead of string

Use extcon cable API instead of state API as it is much more
idiomatic.

Signed-off-by: Nikesh Oswal <Nikesh.Oswal@wolfsonmicro.com>
Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
[Modify patch title by Chanwoo Choi]
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/extcon/extcon-arizona.c