diff options
author | Julia Lawall <Julia.Lawall@lip6.fr> | 2012-07-29 21:46:10 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-08-10 12:01:33 -0700 |
commit | 84b79838b9bcf7a9c2c09f4de930b8d476f1e70b (patch) | |
tree | 07cfdb7c28037b891d891f66768255af8e3fda14 /drivers/ata/pata_atiixp.c | |
parent | 1feda3ed2e5b5968c8393c0e7fe2c27a06a0f4f7 (diff) |
drivers/usb/host/ehci-ls1x.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/ata/pata_atiixp.c')
0 files changed, 0 insertions, 0 deletions