diff options
author | Sudeep Holla <[email protected]> | 2018-07-26 12:23:31 +0100 |
---|---|---|
committer | Will Deacon <[email protected]> | 2018-07-26 13:33:49 +0100 |
commit | 809092dc3e606f3508b53baa624b27bfff8f0e7f (patch) | |
tree | 3c274dc0b842bead539aceaee20a53edaaefe64b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 06060ea7fb5b6b9b4c3251e0dcabbcca8ad91674 (diff) |
drivers/perf: arm-ccn: Use devm_ioremap_resource() to map memory
Instead of checking the return value of platform_get_resource(), we can
use devm_ioremap_resource() which has the NULL pointer check and the
memory region requesting. devm_ioremap_resource is designed to replace
calls to devm_request_mem_region followed by devm_ioremap, so let's use
the same.
Cc: Will Deacon <[email protected]>
Cc: Mark Rutland <[email protected]>
Signed-off-by: Sudeep Holla <[email protected]>
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions