diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2008-04-07 15:03:25 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-04-24 21:16:49 -0700 |
commit | a89a2cd396b20c46a37fa8db4b652fb00f29d0a4 (patch) | |
tree | 03f69864402c8a8c8a4faa81cfa347897b69c164 /drivers/video | |
parent | 0e530b45783f75a29bde20bbf9e287c915a4f68b (diff) |
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>
Diffstat (limited to 'drivers/video')
0 files changed, 0 insertions, 0 deletions