aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorSudeep Holla <sudeep.holla@arm.com>2018-07-11 11:17:39 -0400
committerSudeep Holla <sudeep.holla@arm.com>2018-07-12 13:06:01 -0400
commitcc4aecc5b724b47df65ef3e218ac7d73d2ee4e09 (patch)
treeb32d8d154200b26f9ce028fe5ad0cb852644d8ef /tools/perf/scripts/python
parentce397d215ccd07b8ae3f71db689aedb85d56ab40 (diff)
misc: vexpress/syscfg: 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: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> Acked-by: Liviu Dudau <liviu.dudau@arm.com> Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions