diff options
| author | Rosen Penev <rosenp@gmail.com> | 2026-08-10 21:21:22 -0700 |
|---|---|---|
| committer | Takashi Iwai <tiwai@suse.de> | 2026-08-11 08:19:21 +0200 |
| commit | a9ac75b664d917220dfe2e3c1005402d7a18e84b (patch) | |
| tree | 8ef4288f014ec9ce6b4d4b67af97a765ea07e7a7 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 9508f9f122d4af799cf4a422eb31eedd888b76d2 (diff) | |
ALSA: pci: asihpi: use pcim_iomap for managed PCI memory mapping
Replace manual ioremap() calls with pcim_iomap() which uses devres
for automatic cleanup. This eliminates the need for manual iounmap()
in both the error path of asihpi_adapter_probe() and the
asihpi_adapter_remove() function.
The pcim_iomap() helper is cleaner and less error-prone since it
handles unmapping automatically when the PCI device is released.
Assisted-by: opencode/big-pickle
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://patch.msgid.link/20260811042122.44923-1-rosenp@gmail.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
