usb: rename phy to usb_phy in OTG

This patch prepares the introduction of the generic PHY support in the
USB OTG common functions. The USB PHY member of the OTG structure is
renamed to 'usb_phy' and modifications are done in all drivers accessing
it. Renaming this pointer will allow to keep the compatibility for USB
PHY drivers.

Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
This commit is contained in:
Antoine Tenart
2014-10-30 18:41:14 +01:00
committed by Felipe Balbi
parent e47d92545c
commit 19c1eac268
12 changed files with 65 additions and 59 deletions

View File

@@ -14,7 +14,7 @@
struct usb_otg {
u8 default_a;
struct usb_phy *phy;
struct usb_phy *usb_phy;
struct usb_bus *host;
struct usb_gadget *gadget;