[PATCH] remove some USB_SUSPEND dependencies
This simplifies some of the PM-related #ifdeffing by recognizing that USB_SUSPEND depends on PM. Also, OHCI drivers were often testing for USB_SUSPEND when they should have tested just PM. Signed-off-by:David Brownell <dbrownell@users.sourceforge.net> Signed-off-by:
Greg Kroah-Hartman <gregkh@suse.de> drivers/usb/core/hcd.c | 2 ++ drivers/usb/host/ohci-hcd.c | 2 +- drivers/usb/host/ohci-hub.c | 4 ++-- drivers/usb/host/ohci-omap.c | 2 +- drivers/usb/host/ohci-pci.c | 2 +- drivers/usb/host/ohci-ppc-soc.c | 4 ++-- drivers/usb/host/ohci-pxa27x.c | 2 +- drivers/usb/host/ohci-s3c2410.c | 3 +-- drivers/usb/host/ohci-sa1111.c | 2 +- 9 files changed, 12 insertions(+), 11 deletions(-)
Showing
- drivers/usb/core/hcd.c 2 additions, 0 deletionsdrivers/usb/core/hcd.c
- drivers/usb/host/ohci-hcd.c 1 addition, 1 deletiondrivers/usb/host/ohci-hcd.c
- drivers/usb/host/ohci-hub.c 2 additions, 2 deletionsdrivers/usb/host/ohci-hub.c
- drivers/usb/host/ohci-omap.c 1 addition, 1 deletiondrivers/usb/host/ohci-omap.c
- drivers/usb/host/ohci-pci.c 1 addition, 1 deletiondrivers/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 1 addition, 1 deletiondrivers/usb/host/ohci-pxa27x.c
- drivers/usb/host/ohci-s3c2410.c 1 addition, 2 deletionsdrivers/usb/host/ohci-s3c2410.c
- drivers/usb/host/ohci-sa1111.c 1 addition, 1 deletiondrivers/usb/host/ohci-sa1111.c
Loading
Please register or sign in to comment