diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2006-11-20 17:38:46 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-12-01 23:25:53 +0100 |
commit | 94fcda1f8ab5e0cacc381c5ca1cc9aa6ad523576 (patch) | |
tree | ffdcc2e33bce1343ce7e57e04e1beca190cf4201 /drivers/input | |
parent | USB: keep count of unsuspended children (diff) | |
download | linux-94fcda1f8ab5e0cacc381c5ca1cc9aa6ad523576.tar.xz linux-94fcda1f8ab5e0cacc381c5ca1cc9aa6ad523576.zip |
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>
Diffstat (limited to 'drivers/input')
0 files changed, 0 insertions, 0 deletions