usb: phy: tegra: Use DT helpers for phy_type
authorTuomas Tynkkynen <ttynkkynen@nvidia.com>
Thu, 25 Jul 2013 18:38:08 +0000 (21:38 +0300)
committerFelipe Balbi <balbi@ti.com>
Mon, 29 Jul 2013 10:58:26 +0000 (13:58 +0300)
commit9fdb07f72088ab5fc7bd6fd6f070fac53d636bd9
treec21f392b6731d8f3d074e1d95bab2ed87bc93823
parent3b102e8bc0e49d417c7d376af857537080335dbf
usb: phy: tegra: Use DT helpers for phy_type

Use the new of_usb_get_phy_mode helper function for parsing phy_type
from the device tree.

Signed-off-by: Tuomas Tynkkynen <ttynkkynen@nvidia.com>
Reviewed-by: Stephen Warren <swarren@nvidia.com>
Tested-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/phy/phy-tegra-usb.c