[RFC PATCH 3/4] usb: musb: omap: use the new API to get PHY reference by label

2013-05-17 Thread Kishon Vijay Abraham I
After the devices are created using PLATFORM_DEVID_AUTO, devm_usb_get_phy_dev and usb_get_phy_dev can't be used reliably as it relies on the device_names passed in usb_bind_phy. So used the new API devm_usb_get_phy_by_name to get the PHY reference. Signed-off-by: Kishon Vijay Abraham I ---

[RFC PATCH 3/4] usb: musb: omap: use the new API to get PHY reference by label

2013-05-17 Thread Kishon Vijay Abraham I
After the devices are created using PLATFORM_DEVID_AUTO, devm_usb_get_phy_dev and usb_get_phy_dev can't be used reliably as it relies on the device_names passed in usb_bind_phy. So used the new API devm_usb_get_phy_by_name to get the PHY reference. Signed-off-by: Kishon Vijay Abraham I