diff options
| author | Himangi Saraogi <[email protected]> | 2014-06-12 00:08:23 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2014-07-09 16:25:22 -0700 |
| commit | ddd94257410fa6be955af4592d8727e3b4ba51ef (patch) | |
| tree | ee3c8847938902ec7cea101d9248edf6ffe11001 /tools/perf/scripts/python/netdev-times.py | |
| parent | 6a70b621227d1fd3efd150fce63ea4d51d4acaa9 (diff) | |
usb: host: uhci-grlib.c : use devm_ functions
The various devm_ functions allocate memory that is released when a
driver detaches. This patch uses devm_ioremap_resource for data
that is allocated in the probe function of a platform device and
is only freed in the remove function. The corresponding free functions
are removed and two labels are done away with. Also, linux/device.h
is added to make sure the devm_*() routine declarations are
unambiguously available.
Signed-off-by: Himangi Saraogi <[email protected]>
Acked-by: Andreas Larsson <[email protected]>
Acked-by: Alan Stern <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions