diff options
| author | 2016-03-22 22:22:56 +0530 | |
|---|---|---|
| committer | 2016-03-28 07:30:36 -0700 | |
| commit | 76e543382bd4f488f2a1ca726b7494e6c5f4cc89 (patch) | |
| tree | e8bbde2c313dc6098678ddaacd835ecee11b29c3 /scripts | |
| parent | staging: media: omap1: Replace kzalloc with devm_kzalloc (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 <amitoj1606@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
