diff options
author | Julia Lawall <Julia.Lawall@lip6.fr> | 2012-07-29 21:46:07 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-08-10 12:01:33 -0700 |
commit | f0675e2a99dd305114986d22e2572c72bd69804b (patch) | |
tree | f5693f2b27cf5120ab5145cbe5ecfb487557d9c5 /block | |
parent | 8ca41ae35f5567280eac787a9cc9bcd5988b9f82 (diff) | |
download | blackbird-op-linux-f0675e2a99dd305114986d22e2572c72bd69804b.tar.gz blackbird-op-linux-f0675e2a99dd305114986d22e2572c72bd69804b.zip |
drivers/usb/host/ehci-cns3xxx.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 'block')
0 files changed, 0 insertions, 0 deletions