diff options
author | David Brownell <david-b@pacbell.net> | 2008-05-07 21:25:24 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-05-14 17:00:28 (GMT) |
commit | 734d37c654569f03156f8603a9761c402a73aa20 (patch) | |
tree | 880694ade8bc79bd45425ec108e002776cea1628 /drivers/s390 | |
parent | 2c2d28a015f0dd36c5d1a06e16923e3142574066 (diff) | |
download | linux-fsl-qoriq-734d37c654569f03156f8603a9761c402a73aa20.tar.xz |
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/s390')
0 files changed, 0 insertions, 0 deletions