summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2007-06-20 09:22:23 +0400
committerGreg Kroah-Hartman <gregkh@suse.de>2007-07-13 03:34:37 +0400
commit9e85c5f63268a5700860f53e52b090973652a5b2 (patch)
tree4d0258d76ceab4621e57b646ad80ace80f5911aa /include/linux
parent17c2327419a889293fb955baf0c69a7d38c5809c (diff)
downloadlinux-9e85c5f63268a5700860f53e52b090973652a5b2.tar.xz
USB: sierra: cleanup the startup and shutdown path
This removes the ugly code that was copied from the keyspan driver and allocates the in urbs in a much shorter code path that can be understood easier. Also turned off the interrupt urb when no port was open as it's not nice to keep the bus busy for no good reason at all (this should be a power savings.) All in all, this saved over 40 lines of code and cleaned things up better. Cc: Kevin Lloyd <linux@sierrawireless.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions