aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/misc
diff options
context:
space:
mode:
authorAntoine Tenart <antoine.tenart@free-electrons.com>2014-09-24 15:05:50 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-09-29 11:52:59 -0400
commit3d46e73dfdb840f460e5b06416965d132570ec33 (patch)
tree65d51ef3123588de224bc928b6afc5af39879196 /drivers/usb/misc
parenta173dc447d2980bb7cb9618a6b59cf135ea01e80 (diff)
usb: rename phy to usb_phy in HCD
The USB PHY member of the HCD structure is renamed to 'usb_phy' and modifications are done in all drivers accessing it. This is in preparation to adding the generic PHY support. Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com> [Sergei: added missing 'drivers/usb/misc/lvstest.c' file, resolved rejects, updated changelog.] Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> Acked-by: Alan Stern <stern@rowland.harvard.edu> Acked-by: Felipe Balbi <balbi@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/misc')
-rw-r--r--drivers/usb/misc/lvstest.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/usb/misc/lvstest.c b/drivers/usb/misc/lvstest.c
index 7d589c156fb1..62cb8cd08403 100644
--- a/drivers/usb/misc/lvstest.c
+++ b/drivers/usb/misc/lvstest.c
@@ -333,13 +333,13 @@ static void lvs_rh_work(struct work_struct *work)
333 USB_PORT_STAT_CONNECTION) { 333 USB_PORT_STAT_CONNECTION) {
334 lvs->present = true; 334 lvs->present = true;
335 lvs->portnum = i; 335 lvs->portnum = i;
336 if (hcd->phy) 336 if (hcd->usb_phy)
337 usb_phy_notify_connect(hcd->phy, 337 usb_phy_notify_connect(hcd->usb_phy,
338 USB_SPEED_SUPER); 338 USB_SPEED_SUPER);
339 } else { 339 } else {
340 lvs->present = false; 340 lvs->present = false;
341 if (hcd->phy) 341 if (hcd->usb_phy)
342 usb_phy_notify_disconnect(hcd->phy, 342 usb_phy_notify_disconnect(hcd->usb_phy,
343 USB_SPEED_SUPER); 343 USB_SPEED_SUPER);
344 } 344 }
345 break; 345 break;