USB: EHCI: remove unused Link Power Management code
authorAlan Stern <stern@rowland.harvard.edu>
Wed, 31 Oct 2012 17:12:11 +0000 (13:12 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 31 Oct 2012 19:48:07 +0000 (12:48 -0700)
commit4968f951913997adc8c68c4e986e8168ee1d2998
tree4ab4aa7bff6faf8c533ec5c346d591fdb0ed64b5
parent571e41214e988bc38c99d804e6d8e1ea1d016342
USB: EHCI: remove unused Link Power Management code

This patch (as1622) removes the USB-2.1 Link Power Management code
from the ehci-hcd driver.  This code was never integrated with
usbcore, it is full of bugs, and it was not getting used by anybody.

However, the debugging code for dumping the LPM-related fields in the
EHCI registers is left in place.  In theory it might be useful to see
these values, even though we don't use them.

This essentially amounts to a partial revert of commit
aa4d8342988d0c1a79ff19b2ede1e81dfbb16ea5 (USB: EHCI: EHCI 1.1
addendum: preparation) and an almost full revert of commit
48f24970144479c29b8cee6d2e1dbedf6dcf9cfb (USB: EHCI: EHCI 1.1
addendum: Basic LPM feature support) plus its follow-ons.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ehci-dbg.c
drivers/usb/host/ehci-hcd.c
drivers/usb/host/ehci-hub.c
drivers/usb/host/ehci-lpm.c [deleted file]
drivers/usb/host/ehci-pci.c
drivers/usb/host/ehci-vt8500.c
drivers/usb/host/ehci.h