usb: phy: omap-otg: Replace the extcon API
authorChanwoo Choi <cw00.choi@samsung.com>
Mon, 16 Jan 2017 12:36:59 +0000 (21:36 +0900)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Tue, 24 Jan 2017 09:04:13 +0000 (11:04 +0200)
commit7df337891e61f32cceaacceca073a01080298a80
tree0cfc79e52c9ce54912b5708dc40117fd73e5ab1b
parentc6267a51639b0a8e76cc6d4b0d88c07d29b4b2bf
usb: phy: omap-otg: 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()

Cc: linux-omap@vger.kernel.org
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-omap-otg.c