extcon: gpio: Remove the usage of extcon_set_state()
authorChanwoo Choi <cw00.choi@samsung.com>
Thu, 21 Jul 2016 11:00:29 +0000 (20:00 +0900)
committerKishon Vijay Abraham I <kishon@ti.com>
Sat, 10 Sep 2016 11:18:47 +0000 (16:48 +0530)
commit1662622fe595919ef004ef24364a68061052a12f
tree9e620b982e4aefddbe26edc2e8e0adcdd39bd35a
parentcc60211237086d718e463bcee74004b5bd38a78c
extcon: gpio: Remove the usage of extcon_set_state()

This patch removes the usage of extcon_set_state() because it uses
the bit masking to change the state of external connectors. The extcon framework
should handle the state by extcon_set_cable_state_() with extcon id.

Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/extcon/extcon-gpio.c