diff options
| author | Amitoj Kaur Chawla <[email protected]> | 2016-03-22 22:22:56 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2016-03-28 07:30:36 -0700 |
| commit | 76e543382bd4f488f2a1ca726b7494e6c5f4cc89 (patch) | |
| tree | e8bbde2c313dc6098678ddaacd835ecee11b29c3 /tools/perf/scripts/python | |
| parent | ba99a0f19ae04820104c1cba11027ec69495879c (diff) | |
staging: media: omap1: Switch to devm_ioremap_resource
Replace calls to request_mem_region and ioremap with a direct
call to devm_ioremap_resource instead and modify error
handling.
Move the call to platform_get_resource adjacent to the call to
devm_ioremap_resource to make the connection between them more
clear.
Also remove unnecessary labels, variable initialisations and
release_mem_region iounmap from probe and remove functions.
Signed-off-by: Amitoj Kaur Chawla <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions