USB: gadget: gadget zero cleanups
commitca2bdf4bcc91818f03e009b87c348609c2578d1d
authorDavid Brownell <david-b@pacbell.net>
Thu, 2 Aug 2007 19:20:05 +0000 (2 12:20 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 12 Oct 2007 21:55:04 +0000 (12 14:55 -0700)
tree0c19ffdbc34c6451bc8bcb97e093b1c075e60ac8
parent2e806f67cc570d25395469a0ded0df8ffbd4d82f
USB: gadget: gadget zero cleanups

Clean up gadget zero, using newer APIs and conventions:

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

 - Remove many now-needless #includes

 - Use the VERBOSE_DEBUG convention

 - Some whitespace fixes.

 - A few comment updates

 - Plus a few other small cleanups:  don't pass gfp_t around when it's
   always going to be GFP_ATOMIC, and do static init of serial number.

Also go to straight GPL; there's no real point in dual licensing this
stuff any more.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/zero.c