From: Ruchika Kharwar Date: Sat, 6 Jul 2013 12:52:49 +0000 (-0500) Subject: usb: dwc3: adapt to use dr_mode device tree helper X-Git-Tag: v3.12-rc1~186^2~77^2~80 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a45c82b84c844cd85b2ed1aa32596f1bffa32716;p=pandora-kernel.git usb: dwc3: adapt to use dr_mode device tree helper 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 Signed-off-by: Ruchika Kharwar Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed