diff options
author | David Brownell <david-b@pacbell.net> | 2007-08-02 00:03:39 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-10-12 14:55:04 -0700 |
commit | 2e806f67cc570d25395469a0ded0df8ffbd4d82f (patch) | |
tree | 7d1e64859244520348cd562558094ce9d82da4e5 /drivers/usb/gadget/zero.c | |
parent | 51a0e85cd9b47e2e6332b40ea486cc1659d8a3ec (diff) | |
download | blackbird-op-linux-2e806f67cc570d25395469a0ded0df8ffbd4d82f.tar.gz blackbird-op-linux-2e806f67cc570d25395469a0ded0df8ffbd4d82f.zip |
USB: gadget: file storage gadget cleanups
Clean up the file storage gadget, using newer APIs and conventions:
- gadget_is_dualspeed() and gadget_is_otg() ... #ifdef removal
- Remove many now-needless #includes
- Use the DEBUG (from Kconfig+Makefile) and VERBOSE_DEBUG conventions.
- Remove some "sparse" warnings (it still dislikes the __user annotations)
This gave only a minor object code shrinkage.
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Cc: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/gadget/zero.c')
0 files changed, 0 insertions, 0 deletions