diff options
author | Julia Lawall <Julia.Lawall@lip6.fr> | 2012-07-29 21:46:12 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-08-10 21:01:34 +0200 |
commit | 35b55563dffd4a68988077e402ddd330e8cfa580 (patch) | |
tree | 8fedaf6f7c8685b1799116f5bf5671687987a867 /fs/cifs/cifsacl.c | |
parent | drivers/usb/host/ehci-msm.c: use devm_ functions (diff) | |
download | linux-35b55563dffd4a68988077e402ddd330e8cfa580.tar.xz linux-35b55563dffd4a68988077e402ddd330e8cfa580.zip |
drivers/usb/host/ehci-mv.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.
A new label name is created in one case to better reflect the contents of
the error-handling code.
Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/cifs/cifsacl.c')
0 files changed, 0 insertions, 0 deletions