USB: dwc3: get extcon device by OF graph bindings
authorAndrzej Hajda <a.hajda@samsung.com>
Tue, 15 May 2018 12:12:38 +0000 (14:12 +0200)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Wed, 16 May 2018 05:56:16 +0000 (08:56 +0300)
commit5f0b74e54890c354d6ac0124ea7a96adf22845d0
treea6dc8f7c9ce4fa921d15e81485afbd7cdf9a5af8
parentfe8abf332b8f66868013cfcd6bfe727136a2ab5f
USB: dwc3: get extcon device by OF graph bindings

extcon device is used to detect host/device connection. Since extcon
OF property is deprecated, alternative method should be added.
This method uses OF graph bindings to locate extcon.

Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/dwc3/drd.c