usb: chipdata: Replace the extcon API
authorChanwoo Choi <cw00.choi@samsung.com>
Wed, 30 Nov 2016 05:57:33 +0000 (14:57 +0900)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:28:11 +0000 (15:28 -0500)
commitd033df160bf39196b46600e1ac6343e576e1092f
tree29a3851aa7c8e384aa1551eb5044571311f3121a
parent8a6e138221bff99f54591f856dce00c2b12ee77a
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>
(cherry picked from commit 3f991aa0b665c8e9bb702421a4e5005c3588fb62)
drivers/usb/chipidea/core.c