OSDN Git Service

usb: dwc3: omap: Replace the extcon API
authorChanwoo Choi <cw00.choi@samsung.com>
Mon, 16 Jan 2017 12:36:57 +0000 (21:36 +0900)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Tue, 24 Jan 2017 09:04:15 +0000 (11:04 +0200)
commitc773bb0b9264206958a8d1e032baaa57ec66c22c
tree6b639e4c9b7b0366eaea9d947d611c8356f5614a
parentea07b8cf08f71fe5fb49c02b4a29b92a6b357218
usb: dwc3: omap: 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/dwc3/dwc3-omap.c