UPSTREAM: 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)
committerHuang, Tao <huangtao@rock-chips.com>
Wed, 3 Aug 2016 02:06:58 +0000 (10:06 +0800)
commit7e41a07369b681d2348471d8ef91694e03605932
tree89153c60d63b5ed46193cce13d4d8962fb086f04
parent8d3725ca479adaae476adb246fea6df99bd23e29
UPSTREAM: 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.

Change-Id: I726f690d900375d36001fe4eda9b53bcdd2b4f86
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Chris Zhong <zyw@rock-chips.com>
(cherry picked from commit 448991505c967d7b44ae9ea328224ec02858c8da)
drivers/extcon/extcon-gpio.c