USB: gadget: serial gadget cleanups
authorDavid Brownell <david-b@pacbell.net>
Thu, 2 Aug 2007 07:02:47 +0000 (00:02 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 12 Oct 2007 21:55:03 +0000 (14:55 -0700)
commit51a0e85cd9b47e2e6332b40ea486cc1659d8a3ec
treead3722ecf3f93578c42d18eda49ef72d2d8f99cf
parent8c07021635a10c9a4969cbff0f2325a94c860f77
USB: gadget: serial gadget cleanups

Clean up the serial gadget, using newer APIs and conventions:

 - gadget_is_dualspeed() and gadget_is_otg() ... #ifdef removal

 - Remove many now-needless #includes

 - Use the DEBUG and VERBOSE_DEBUG conventions; turned up a bug in
   the original debug messaging

 - Various whitespace fixes.

This gave only a minor object code shrinkage, but the source looks
much cleaner in various places.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Cc: Al Borchers <alborchers@steinerpoint.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/serial.c