diff options
author | Julia Lawall <Julia.Lawall@lip6.fr> | 2012-07-30 16:43:41 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-08-10 12:04:10 -0700 |
commit | bc2ff98ffa52d36b5df925a1f783ff2e035ed55e (patch) | |
tree | 9912ea6eab3af6952d8dce3e6702dab6530e2308 /drivers/char/tb0219.c | |
parent | a926e298b66a7a2d70a95810efdb0e64f3f24ae0 (diff) | |
download | talos-op-linux-bc2ff98ffa52d36b5df925a1f783ff2e035ed55e.tar.gz talos-op-linux-bc2ff98ffa52d36b5df925a1f783ff2e035ed55e.zip |
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 'drivers/char/tb0219.c')
0 files changed, 0 insertions, 0 deletions