diff options
author | David Brownell <david-b@pacbell.net> | 2007-08-02 03:02:47 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-10-12 17:55:03 -0400 |
commit | 51a0e85cd9b47e2e6332b40ea486cc1659d8a3ec (patch) | |
tree | ad3722ecf3f93578c42d18eda49ef72d2d8f99cf /drivers/usb/gadget/file_storage.c | |
parent | 8c07021635a10c9a4969cbff0f2325a94c860f77 (diff) |
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>
Diffstat (limited to 'drivers/usb/gadget/file_storage.c')
0 files changed, 0 insertions, 0 deletions