commit | bc2ff98ffa52d36b5df925a1f783ff2e035ed55e | [log] [tgz] |
---|---|---|
author | Julia Lawall <Julia.Lawall@lip6.fr> | Mon Jul 30 16:43:41 2012 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Aug 10 12:04:10 2012 -0700 |
tree | 9912ea6eab3af6952d8dce3e6702dab6530e2308 | |
parent | a926e298b66a7a2d70a95810efdb0e64f3f24ae0 [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>