aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/c67x00
diff options
context:
space:
mode:
authorDavid Brownell <david-b@pacbell.net>2008-05-07 14:25:24 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2008-05-14 10:00:28 -0700
commit734d37c654569f03156f8603a9761c402a73aa20 (patch)
tree880694ade8bc79bd45425ec108e002776cea1628 /drivers/usb/c67x00
parent2c2d28a015f0dd36c5d1a06e16923e3142574066 (diff)
USB: serial gadget: simplify endpoint handling
Switch serial gadget away from a *very* old idiom: just remember the endpoints we'll be using, instead of looking them up by name each time. This is a net code and data (globals) shrink. Also fix a small memory leak in the rmmod path, by working the same as the disconnect code. 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/c67x00')
0 files changed, 0 insertions, 0 deletions