OSDN Git Service

extcon: arizona: Simplify micd_pol_gpio handling
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Fri, 25 Nov 2016 13:44:36 +0000 (13:44 +0000)
committerChanwoo Choi <cw00.choi@samsung.com>
Mon, 9 Jan 2017 01:04:09 +0000 (10:04 +0900)
commit6c467a106f4c93a05b359b6732bb2161d74a29ae
treef5e2b09a6be9d6f552c28eec10c31b9978b6e94d
parenta121103c922847ba5010819a3f250f1f7fc84ab8
extcon: arizona: Simplify micd_pol_gpio handling

Currently we handle both old style GPIO and new style GPIOD differently
simplify this slightly by converting the old style GPIO to a GPIOD and
just using that from then on.

Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/extcon/extcon-arizona.c