phy: rockchip-inno-usb2: Replace the extcon API
authorChanwoo Choi <cw00.choi@samsung.com>
Wed, 22 Mar 2017 10:10:31 +0000 (19:10 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Thu, 3 Aug 2017 08:12:16 +0000 (17:12 +0900)
commit86f44c88738e015b451cfdafac3e98205e69cb6a
treef198d744978a3155b3a173c0b4e43da86a7058bc
parentf0b5c2c963708dfbcbb5e2871aca35fa71664d3a
phy: rockchip-inno-usb2: Replace the extcon API

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

Acked-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/phy/rockchip/phy-rockchip-inno-usb2.c