Searched hist:"809092 dc3e606f3508b53baa624b27bfff8f0e7f" (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/perf/ |
H A D | arm-ccn.c | diff 809092dc3e606f3508b53baa624b27bfff8f0e7f Thu Jul 26 13:23:31 CEST 2018 Sudeep Holla <sudeep.holla@arm.com> 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 <will.deacon@arm.com> Cc: Mark Rutland <mark.rutland@arm.com> Signed-off-by: Sudeep Holla <sudeep.holla@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com>
|