OpenCloudOS-Kernel/drivers/usb/core
Alan Stern 94fcda1f8a usbcore: remove unused argument in autosuspend
Thanks to several earlier patches, usb_autosuspend_device() and
usb_autoresume_device() are never called with a second argument other
than 1.  This patch (as819) removes the now-redundant argument.

It also consolidates some common code between those two routines,
putting it into a new subroutine called usb_autopm_do_device().  And
it includes a sizable kerneldoc update for the affected functions.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2006-12-01 14:25:53 -08:00
..
Kconfig USB: create a new thread for every USB device found during the probe sequence 2006-12-01 14:25:52 -08:00
Makefile usbcore: move code among source files 2006-09-27 11:58:50 -07:00
buffer.c usbcore: trim down usb_bus structure 2006-09-27 11:58:56 -07:00
config.c usb: deal with broken config descriptors 2006-09-27 11:58:55 -07:00
devices.c USB: devices: Use usb_endpoint_* functions 2006-12-01 14:23:28 -08:00
devio.c usbcore: remove unused argument in autosuspend 2006-12-01 14:25:53 -08:00
driver.c usbcore: remove unused argument in autosuspend 2006-12-01 14:25:53 -08:00
endpoint.c USB: added dynamic major number for USB endpoints 2006-12-01 14:25:52 -08:00
file.c fix file specification in comments 2006-10-03 23:01:26 +02:00
generic.c Remove all inclusions of <linux/config.h> 2006-10-04 03:38:54 -04:00
hcd-pci.c USB: Properly unregister reboot notifier in case of failure in ehci hcd 2006-09-27 11:58:54 -07:00
hcd.c usb hub: fix root hub code so it takes more than 15 devices per root hub 2006-12-01 14:23:26 -08:00
hcd.h IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
hub.c usbcore: remove unused argument in autosuspend 2006-12-01 14:25:53 -08:00
hub.h USB: Move private hub declarations out of public header file 2006-12-01 14:23:30 -08:00
inode.c [PATCH] usb: fixup usb so it uses struct pid 2006-10-02 07:57:15 -07:00
message.c usbcore: remove unused argument in autosuspend 2006-12-01 14:25:53 -08:00
notify.c usbfs: private mutex for open, release, and remove 2006-09-27 11:58:49 -07:00
otg_whitelist.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sysfs.c USB: fix __must_check warnings in drivers/usb/core/ 2006-09-27 11:58:57 -07:00
urb.c USB: Remove unneeded void * casts in core files 2006-09-27 11:58:59 -07:00
usb.c USB core: fix compiler warning about usb_autosuspend_work 2006-12-01 14:23:35 -08:00
usb.h usbcore: remove unused argument in autosuspend 2006-12-01 14:25:53 -08:00