usb: chipdata: Replace the extcon API
authorChanwoo Choi <cw00.choi@samsung.com>
Wed, 30 Nov 2016 05:57:33 +0000 (14:57 +0900)
committerPeter Chen <peter.chen@nxp.com>
Fri, 20 Jan 2017 03:14:07 +0000 (11:14 +0800)
commit3f991aa0b665c8e9bb702421a4e5005c3588fb62
treeda0c38b851756e665a53fd3249b04c1a22283e3d
parent7ce7d89f48834cefece7804d38fc5d85382edf77
usb: chipdata: 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>
Signed-off-by: Peter Chen <peter.chen@nxp.com>
drivers/usb/chipidea/core.c