diff options
| author | 2012-07-30 16:43:41 +0200 | |
|---|---|---|
| committer | 2012-08-10 12:04:10 -0700 | |
| commit | bc2ff98ffa52d36b5df925a1f783ff2e035ed55e (patch) | |
| tree | 9912ea6eab3af6952d8dce3e6702dab6530e2308 /kernel/debug/debug_core.c | |
| parent | drivers/usb/host/ehci-sh.c: use devm_ functions (diff) | |
drivers/usb/host/ehci-tegra.c: use devm_ functions
The various devm_ functions allocate memory that is released when a driver
detaches. This patch uses these functions for data that is allocated in
the probe function of a platform device and is only freed in the remove
function.
Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Tested-by: Stephen Warren <swarren@wwwdotorg.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/debug/debug_core.c')
0 files changed, 0 insertions, 0 deletions
