diff options
| author | Julia Lawall <Julia.Lawall@lip6.fr> | 2012-07-29 21:46:13 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-08-10 12:01:34 -0700 |
| commit | af09c060895b9c9137c02943c71302ac0fc9555a (patch) | |
| tree | 9707aa5e25ab744b4f6708b60cab1abade1af20c /scripts/checkstack.pl | |
| parent | 35b55563dffd4a68988077e402ddd330e8cfa580 (diff) | |
drivers/usb/host/ehci-mxc.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 'scripts/checkstack.pl')
0 files changed, 0 insertions, 0 deletions
