kernel-ark/drivers/usb/gadget
David Brownell 734d37c654 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>
2008-05-14 10:00:28 -07:00
..
amd5536udc.c usb: fix integer as NULL pointer warnings found by sparse 2008-05-14 10:00:26 -07:00
amd5536udc.h
at91_udc.c usb: use non-racy method for proc entries creation 2008-04-29 08:06:21 -07:00
at91_udc.h
atmel_usba_udc.c
atmel_usba_udc.h
config.c
dummy_hcd.c drivers/usb annotations and fixes 2008-04-28 10:03:31 -07:00
epautoconf.c USB: gadget section fixes 2008-04-24 21:16:48 -07:00
ether.c usb: pxa27x_udc driver 2008-05-02 10:25:53 -07:00
file_storage.c USB GADGET/PERIPHERAL: g_file_storage Bulk-Only Transport compliance, clear-feature ignore 2008-05-02 10:25:58 -07:00
fsl_usb2_udc.c USB: replace remaining __FUNCTION__ occurrences 2008-04-24 21:16:55 -07:00
fsl_usb2_udc.h USB: replace remaining __FUNCTION__ occurrences 2008-04-24 21:16:55 -07:00
gadget_chips.h
gmidi.c drivers/usb annotations and fixes 2008-04-28 10:03:31 -07:00
goku_udc.c usb: use get/put_unaligned_* helpers 2008-04-29 08:06:28 -07:00
goku_udc.h
inode.c USB: replace remaining __FUNCTION__ occurrences 2008-04-24 21:16:55 -07:00
Kconfig usb: pxa27x_udc driver 2008-05-02 10:25:53 -07:00
lh7a40x_udc.c USB: replace remaining __FUNCTION__ occurrences 2008-04-24 21:16:55 -07:00
lh7a40x_udc.h
m66592-udc.c
m66592-udc.h drivers/usb annotations and fixes 2008-04-28 10:03:31 -07:00
Makefile usb: pxa27x_udc driver 2008-05-02 10:25:53 -07:00
ndis.h
net2280.c
net2280.h USB: replace remaining __FUNCTION__ occurrences 2008-04-24 21:16:55 -07:00
omap_udc.c usb: use non-racy method for proc entries creation 2008-04-29 08:06:21 -07:00
omap_udc.h
printer.c USB: replace remaining __FUNCTION__ occurrences 2008-04-24 21:16:55 -07:00
pxa2xx_udc.c USB: replace remaining __FUNCTION__ occurrences 2008-04-24 21:16:55 -07:00
pxa2xx_udc.h
pxa27x_udc.c usb: pxa27x_udc driver 2008-05-02 10:25:53 -07:00
pxa27x_udc.h usb: pxa27x_udc driver 2008-05-02 10:25:53 -07:00
rndis.c usb: use get/put_unaligned_* helpers 2008-04-29 08:06:28 -07:00
rndis.h
s3c2410_udc.c
s3c2410_udc.h
serial.c USB: serial gadget: simplify endpoint handling 2008-05-14 10:00:28 -07:00
usbstring.c usb: use get/put_unaligned_* helpers 2008-04-29 08:06:28 -07:00
zero.c usb: gadget zero timer init fix 2008-05-02 10:25:54 -07:00