[PATCH] USB: Rename hcd->hub_suspend to hcd->bus_suspend
This patch (as580) is perhaps the only result from the long discussion I had with David about his changes to the root-hub suspend/resume code. It renames the hub_suspend and hub_resume methods in struct usb_hcd to bus_suspend and bus_resume. These are more descriptive names, since the methods really do suspend or resume an entire USB bus, and less likely to be confused with the hub_suspend and hub_resume routines in hub.c. It also takes David's advice about removing the layer of bus glue, where those methods are called. And it implements a related change that David made to the other HCDs but forgot to put into dummy_hcd. Signed-off-by:Alan Stern <stern@rowland.harvard.edu> Signed-off-by:
Greg Kroah-Hartman <gregkh@suse.de>
Showing
- drivers/usb/core/hcd.c 6 additions, 10 deletionsdrivers/usb/core/hcd.c
- drivers/usb/core/hcd.h 17 additions, 6 deletionsdrivers/usb/core/hcd.h
- drivers/usb/core/hub.c 4 additions, 4 deletionsdrivers/usb/core/hub.c
- drivers/usb/gadget/dummy_hcd.c 4 additions, 18 deletionsdrivers/usb/gadget/dummy_hcd.c
- drivers/usb/host/ehci-hub.c 4 additions, 4 deletionsdrivers/usb/host/ehci-hub.c
- drivers/usb/host/ehci-pci.c 2 additions, 2 deletionsdrivers/usb/host/ehci-pci.c
- drivers/usb/host/isp116x-hcd.c 6 additions, 6 deletionsdrivers/usb/host/isp116x-hcd.c
- drivers/usb/host/ohci-au1xxx.c 2 additions, 2 deletionsdrivers/usb/host/ohci-au1xxx.c
- drivers/usb/host/ohci-hub.c 3 additions, 3 deletionsdrivers/usb/host/ohci-hub.c
- drivers/usb/host/ohci-lh7a404.c 2 additions, 2 deletionsdrivers/usb/host/ohci-lh7a404.c
- drivers/usb/host/ohci-omap.c 2 additions, 2 deletionsdrivers/usb/host/ohci-omap.c
- drivers/usb/host/ohci-pci.c 2 additions, 2 deletionsdrivers/usb/host/ohci-pci.c
- drivers/usb/host/ohci-ppc-soc.c 2 additions, 2 deletionsdrivers/usb/host/ohci-ppc-soc.c
- drivers/usb/host/ohci-pxa27x.c 2 additions, 2 deletionsdrivers/usb/host/ohci-pxa27x.c
- drivers/usb/host/ohci-s3c2410.c 2 additions, 2 deletionsdrivers/usb/host/ohci-s3c2410.c
- drivers/usb/host/ohci-sa1111.c 2 additions, 2 deletionsdrivers/usb/host/ohci-sa1111.c
- drivers/usb/host/sl811-hcd.c 8 additions, 8 deletionsdrivers/usb/host/sl811-hcd.c
- drivers/usb/host/uhci-hcd.c 2 additions, 2 deletionsdrivers/usb/host/uhci-hcd.c
Loading
Please register or sign in to comment