diff options
author | Julia Lawall <Julia.Lawall@lip6.fr> | 2012-07-30 16:43:39 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-08-10 21:04:10 +0200 |
commit | 6df471ea04bd65603b67d821f2df359cc2cfac68 (patch) | |
tree | f64731852ac0212d44dd80d4750d2d6463a3e126 /drivers/usb/host/ohci-platform.c | |
parent | drivers/usb/host/ehci-vt8500.c: use devm_ functions (diff) | |
download | linux-6df471ea04bd65603b67d821f2df359cc2cfac68.tar.xz linux-6df471ea04bd65603b67d821f2df359cc2cfac68.zip |
drivers/usb/host/ehci-xilinx-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/ohci-platform.c')
0 files changed, 0 insertions, 0 deletions