diff options
author | Himangi Saraogi <himangi774@gmail.com> | 2014-06-11 14:38:23 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-07-09 19:25:22 -0400 |
commit | ddd94257410fa6be955af4592d8727e3b4ba51ef (patch) | |
tree | ee3c8847938902ec7cea101d9248edf6ffe11001 /tools/perf/scripts/python/export-to-postgresql.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 <himangi774@gmail.com>
Acked-by: Andreas Larsson <andreas@gaisler.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions