diff options
author | David Brownell <david-b@pacbell.net> | 2008-05-07 14:25:24 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-05-14 10:00:28 -0700 |
commit | 734d37c654569f03156f8603a9761c402a73aa20 (patch) | |
tree | 880694ade8bc79bd45425ec108e002776cea1628 /drivers/usb/serial/mos7720.c | |
parent | 2c2d28a015f0dd36c5d1a06e16923e3142574066 (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/serial/mos7720.c')
0 files changed, 0 insertions, 0 deletions