diff options
| author | 2012-07-29 21:46:05 +0200 | |
|---|---|---|
| committer | 2012-08-10 12:01:32 -0700 | |
| commit | 979834313271203d1e6e84241cc3aca4503a3dbb (patch) | |
| tree | a7551fff08086b9102e378b7af4113a8d3ceb882 /kernel/debug | |
| parent | USB: ftdi_sio: Quiet sparse noise about using plain integer was NULL pointer (diff) | |
drivers/usb/host/ehci-atmel.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 'kernel/debug')
0 files changed, 0 insertions, 0 deletions
