1
linux/drivers/usb/gadget
David Brownell 6bea476cf6 USB: gadget driver unbind() is optional; section fixes; misc
Allow gadget drivers to omit the unbind() method.  When they're
statically linked, that's an appropriate memory saving tweak.

Similarly, provide consistent/simpler handling for a should-not-happen
error case:  removing a peripheral controller driver when a gadget
driver is still loaded.  Such code dates back to early versions of the
first implementation of the gadget API, and has never been triggered.

Includes relevant section annotation fixs for gmidi.c, file_storage.c,
and serial.c; we don't yet have an "init or exit" annotation.  Also
some whitespace fixes in gmidi.c (space at EOL, before tabs, etc).

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2006-12-20 10:14:26 -08:00
..
at91_udc.c USB: gadget driver unbind() is optional; section fixes; misc 2006-12-20 10:14:26 -08:00
at91_udc.h
config.c
dummy_hcd.c USB: gadget driver unbind() is optional; section fixes; misc 2006-12-20 10:14:26 -08:00
epautoconf.c
ether.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6 2006-12-05 14:37:56 +00:00
file_storage.c USB: gadget driver unbind() is optional; section fixes; misc 2006-12-20 10:14:26 -08:00
gadget_chips.h
gmidi.c USB: gadget driver unbind() is optional; section fixes; misc 2006-12-20 10:14:26 -08:00
goku_udc.c USB: gadget driver unbind() is optional; section fixes; misc 2006-12-20 10:14:26 -08:00
goku_udc.h
inode.c [PATCH] slab: remove SLAB_KERNEL 2006-12-07 08:39:24 -08:00
Kconfig [ARM] 3963/1: AT91: Update configuration files 2006-12-01 16:56:43 +00:00
lh7a40x_udc.c USB: gadget driver unbind() is optional; section fixes; misc 2006-12-20 10:14:26 -08:00
lh7a40x_udc.h
Makefile
ndis.h
net2280.c USB: gadget driver unbind() is optional; section fixes; misc 2006-12-20 10:14:26 -08:00
net2280.h USB: net2280: don't send unwanted zero-length packets 2006-12-01 14:23:36 -08:00
omap_udc.c USB: gadget driver unbind() is optional; section fixes; misc 2006-12-20 10:14:26 -08:00
omap_udc.h
pxa2xx_udc.c USB: gadget driver unbind() is optional; section fixes; misc 2006-12-20 10:14:26 -08:00
pxa2xx_udc.h
rndis.c
rndis.h
serial.c USB: gadget driver unbind() is optional; section fixes; misc 2006-12-20 10:14:26 -08:00
usbstring.c
zero.c [PATCH] slab: remove SLAB_KERNEL 2006-12-07 08:39:24 -08:00