linux/drivers/usb/gadget
Alan Stern a89a2cd396 USB: dummy-hcd: use dynamic allocation for platform_devices
This patch (as1075) changes dummy-hcd to dynamically allocate its
platform_device structures, using the core platform_device_alloc()
interface.  This is what it should have done all along, because the
dynamically-allocated structures have a release method in the driver
core and are therefore immune to being released after the module has
been unloaded.

Thanks to Richard Purdie for pointing out the need for this change.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Cc: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2008-04-24 21:16:49 -07:00
..
amd5536udc.c USB: mem leak fixes for AMD 5536 UDC high/full speed USB device controller driver 2008-04-24 21:16:47 -07:00
amd5536udc.h USB: amd5536 UDC driver (in GEODE southbridge) 2007-07-19 17:46:05 -07:00
at91_udc.c usb gadget: fix platform driver hotplug/coldplug 2008-04-11 08:06:43 -07:00
at91_udc.h USB: at91_udc uses generic GPIO calls; minor cleanup 2008-02-01 14:35:01 -08:00
atmel_usba_udc.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/hskinnemoen/usba-2.6.26 into base 2008-04-19 20:38:41 -04:00
atmel_usba_udc.h atmel_usba_udc: Add support for AT91CAP9 UDPHS 2008-04-06 17:25:06 -04:00
config.c USB: move <linux/usb_gadget.h> to <linux/usb/gadget.h> 2007-10-12 14:55:31 -07:00
dummy_hcd.c USB: dummy-hcd: use dynamic allocation for platform_devices 2008-04-24 21:16:49 -07:00
epautoconf.c USB: gadget section fixes 2008-04-24 21:16:48 -07:00
ether.c USB: gadget section fixes 2008-04-24 21:16:48 -07:00
file_storage.c d_path: Make d_path() use a struct path 2008-02-14 21:17:09 -08:00
fsl_usb2_udc.c usb gadget: fix platform driver hotplug/coldplug 2008-04-11 08:06:43 -07:00
fsl_usb2_udc.h USB: gadget code switches to pr_err() and friends 2008-02-01 14:34:51 -08:00
gadget_chips.h USB: m66592-udc: fixes some problems 2007-07-19 17:46:05 -07:00
gmidi.c USB: gadget section fixes 2008-04-24 21:16:48 -07:00
goku_udc.c USB: usb peripheral controller driver oops avoidance 2008-02-01 14:34:52 -08:00
goku_udc.h USB: goku_udc trivial cleanups 2007-07-12 16:34:43 -07:00
inode.c USB: fix gadgetfs class request delegation 2008-03-24 22:26:14 -07:00
Kconfig USB: Remove EXPERIMENTAL tags from some USB gadget Kconfig entries. 2008-04-24 21:16:42 -07:00
lh7a40x_udc.c usb gadget: fix platform driver hotplug/coldplug 2008-04-11 08:06:43 -07:00
lh7a40x_udc.h USB: move <linux/usb_gadget.h> to <linux/usb/gadget.h> 2007-10-12 14:55:31 -07:00
m66592-udc.c usb gadget: fix platform driver hotplug/coldplug 2008-04-11 08:06:43 -07:00
m66592-udc.h USB: m66592-udc: reduce size of data structure. 2008-04-24 21:16:35 -07:00
Makefile USB: add Printer Gadget Driver 2008-02-01 14:34:49 -08:00
ndis.h [PATCH] USB: rndis updates (mostly cleanup) 2005-06-27 14:43:50 -07:00
net2280.c usb: net2280 can't have a function called show_registers() 2008-02-08 09:22:30 -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: remove dev->power.power_state 2008-04-24 21:16:41 -07:00
omap_udc.h USB: gadget code switches to pr_err() and friends 2008-02-01 14:34:51 -08:00
printer.c USB: g_printer bugfixes 2008-04-24 21:16:45 -07:00
pxa2xx_udc.c usb gadget: fix platform driver hotplug/coldplug 2008-04-11 08:06:43 -07:00
pxa2xx_udc.h USB: pxa2xx_udc: fix misuse of clock enable/disable calls 2008-03-04 14:57:44 -08:00
rndis.c USB: gadget section fixes 2008-04-24 21:16:48 -07:00
rndis.h USB gadget rndis: fix struct rndis_packet_msg_type unaligned bug 2007-04-27 13:28:40 -07:00
s3c2410_udc.c usb gadget: fix platform driver hotplug/coldplug 2008-04-11 08:06:43 -07:00
s3c2410_udc.h USB Gadget driver for Samsung s3c2410 ARM SoC 2007-07-12 16:34:30 -07:00
serial.c USB: gadget: Hangup tty on g_serial disconnect 2008-04-24 21:16:35 -07:00
usbstring.c USB: move <linux/usb_gadget.h> to <linux/usb/gadget.h> 2007-10-12 14:55:31 -07:00
zero.c USB: gadget code switches to pr_err() and friends 2008-02-01 14:34:51 -08:00