diff options
author | David Brownell <david-b@pacbell.net> | 2007-08-02 23:20:05 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-10-13 01:55:04 +0400 |
commit | ca2bdf4bcc91818f03e009b87c348609c2578d1d (patch) | |
tree | 0c19ffdbc34c6451bc8bcb97e093b1c075e60ac8 /include/linux/usb.h | |
parent | 2e806f67cc570d25395469a0ded0df8ffbd4d82f (diff) | |
download | linux-ca2bdf4bcc91818f03e009b87c348609c2578d1d.tar.xz |
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>
Diffstat (limited to 'include/linux/usb.h')
0 files changed, 0 insertions, 0 deletions