usb: dwc3: adapt to use dr_mode device tree helper
authorRuchika Kharwar <ruchika@ti.com>
Sat, 6 Jul 2013 12:52:49 +0000 (07:52 -0500)
committerFelipe Balbi <balbi@ti.com>
Mon, 29 Jul 2013 10:56:51 +0000 (13:56 +0300)
This patch adapts the dwc3 to use the device tree helper
"of_usb_get_dr_mode" for the mode of operation of the dwc3 instance
being probed.

[ balbi@ti.com : make of_usb_get_dr_mode() conditional on
dev->of_node and let pdata pass dr_mode too ]

Reviewed-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Ruchika Kharwar <ruchika@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>

No differences found