phy: qcom-usb-hs: Replace the extcon API
authorChanwoo Choi <cw00.choi@samsung.com>
Wed, 22 Mar 2017 10:08:37 +0000 (19:08 +0900)
committerChanwoo Choi <cwchoi00@gmail.com>
Sun, 16 Jul 2017 06:10:56 +0000 (15:10 +0900)
commitf0b5c2c963708dfbcbb5e2871aca35fa71664d3a
tree2c8623b6c48a9ffc364869540ba65dd32f3266d1
parent5771a8c08880cdca3bfb4a3fc6d309d6bba20877
phy: qcom-usb-hs: Replace the extcon API

This patch uses the resource-managed extcon API for extcon_register_notifier()
and replaces the deprecated extcon API as following:
- (deprecated) extcon_get_cable_state_() -> extcon_get_state()

Acked-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/phy/qualcomm/phy-qcom-usb-hs.c