aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/gadget/gmidi.c
diff options
context:
space:
mode:
authorDavid Brownell <david-b@pacbell.net>2007-08-02 00:00:38 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2007-10-12 14:55:03 -0700
commit0cf4f2de0a0f4100795f38ef894d4910678c74f8 (patch)
tree554ecbfd622ba87343203b0b5faaa71292550707 /drivers/usb/gadget/gmidi.c
parenta4e3ef5597e26dad006544d38b9ab6ff42382b76 (diff)
USB: gadget: ethernet gadget cleanups, shrinkage
Clean up the ethernet gadget, using newer APIs and conventions: - gadget_is_dualspeed() and gadget_is_otg() ... #ifdef removal - Remove many now-needless #includes - Use the VERBOSE_DEBUG convention - Minor whitespace fixes. - Fix a warning from "sparse". Surprisingly, this saved about 2K of code (16%) on a fullspeed-only ARMv4 platform. I'm bit puzzled by that (it's so much!), but approve of the result. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/gadget/gmidi.c')
0 files changed, 0 insertions, 0 deletions