usb: phy: qcom-8x16-usb: Replace the extcon API
authorChanwoo Choi <cw00.choi@samsung.com>
Mon, 16 Jan 2017 12:37:00 +0000 (21:37 +0900)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Tue, 24 Jan 2017 09:04:14 +0000 (11:04 +0200)
commit874c9cc99e7dc4af1de231d57d06b493d0fa9ddf
treefffe9b186adfe7ecd3d2afabb9b635c648e958db
parente61bebde51d4c71db8cf8622b550bfbebbe0be7c
usb: phy: qcom-8x16-usb: 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()

Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Acked-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/phy/phy-qcom-8x16-usb.c