diff options
author | Julia Lawall <Julia.Lawall@lip6.fr> | 2012-07-30 18:43:45 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-08-10 23:04:09 +0400 |
commit | 1c5404f7abd250ce71849c2687d266073b54e1d4 (patch) | |
tree | dc117a101f79ed57dcea2262797df6c791018df2 /drivers/usb/host/ehci-sead3.c | |
parent | af09c060895b9c9137c02943c71302ac0fc9555a (diff) | |
download | linux-1c5404f7abd250ce71849c2687d266073b54e1d4.tar.xz |
drivers/usb/host/ehci-ppc-of.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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/ehci-sead3.c')
0 files changed, 0 insertions, 0 deletions