]> err.no Git - linux-2.6/commit
USB: clarify usage of hcd->suspend/resume methods
authorAlan Stern <stern@rowland.harvard.edu>
Thu, 3 Apr 2008 22:03:06 +0000 (18:03 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 25 Apr 2008 04:16:48 +0000 (21:16 -0700)
commit7be7d7418776a41badce7ca00246e270d408e4b9
tree8d3de8a987f917ceb347b9e4c9e14eebbf6b8f61
parent7329e211b987a493cbcfca0e98c60eb108ab42df
USB: clarify usage of hcd->suspend/resume methods

The .suspend and .resume method pointers in struct usb_hcd have not
been fully understood by host-controller driver writers.  They are
meant for use with PCI controllers; other platform-specific drivers
generally should not refer to them.

To try and clarify matters, this patch (as1065) renames those methods
to .pci_suspend and .pci_resume.  It eliminates corresponding dead code
and bogus references in the ohci-ssb and u132-hcd drivers.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/hcd-pci.c
drivers/usb/core/hcd.h
drivers/usb/host/ehci-pci.c
drivers/usb/host/ohci-pci.c
drivers/usb/host/ohci-ssb.c
drivers/usb/host/u132-hcd.c
drivers/usb/host/uhci-hcd.c