summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJihed Chaibi <jihed.chaibi.dev@gmail.com>2026-03-24 23:39:07 +0100
committerMark Brown <broonie@kernel.org>2026-03-30 19:37:21 +0100
commitb81f63108250818ed17fc7df9fdf9a7fb84f3f69 (patch)
tree951b28e005b099258dfb616aad409f001b8a63fc /tools/perf/scripts/python
parent2a740dc5892a0e90e32ddae4d0ece501ace2adfc (diff)
ASoC: samsung: spdif: Convert to devm_ioremap_resource()
Replace the open-coded request_mem_region() + ioremap() sequence with devm_ioremap_resource(), which handles both the region claim and mapping under devres lifetime management. This eliminates the manual iounmap() and release_mem_region() calls in the error path (err3/err4 labels) and in spdif_remove(), simplifying the probe error handling. Signed-off-by: Jihed Chaibi <jihed.chaibi.dev@gmail.com> Link: https://patch.msgid.link/20260324223907.98897-1-jihed.chaibi.dev@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions