From: Greg Kroah-Hartman Date: Wed, 20 Jun 2007 05:22:23 +0000 (+0900) Subject: USB: sierra: cleanup the startup and shutdown path X-Git-Tag: v2.6.23-rc1~1083^2~44 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9e85c5f63268a5700860f53e52b090973652a5b2;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed