summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2026-07-19 14:54:56 -0700
committerBrian Masney <bmasney@redhat.com>2026-07-28 11:25:29 -0400
commit3194c0f961a4d198e28d055b0be3f597b85012c9 (patch)
treed6e59c23d15806f5cc33432928eb4a4907318251 /tools/perf/scripts/python/bin/stackcollapse-record
parent745dfe874d5b9136090af69eba3f61170ceaa168 (diff)
clk: hisilicon: hi3660-stub: use devm_platform_ioremap_resource
Replace the open-coded platform_get_resource() plus devm_ioremap() sequence with devm_platform_ioremap_resource(), which fetches the resource, requests the region and maps it in one call. Switch the error check to IS_ERR()/PTR_ERR() and drop the now-unused struct resource pointer. The only in-tree user (stub_clock@e896b500 in hi3660.dtsi) has a single 0x100-byte reg region, so the region reservation added by devm_ioremap_resource() is exclusive and does not introduce overlap failures. Built for ARM (drivers/clk/hisilicon/clk-hi3660-stub.o) with LLVM=1. Assisted-by: opencode:hy3-free Signed-off-by: Rosen Penev <rosenp@gmail.com> Reviewed-by: Brian Masney <bmasney@redhat.com> Signed-off-by: Brian Masney <bmasney@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions