diff options
| author | Rosen Penev <rosenp@gmail.com> | 2026-07-20 18:58:56 -0700 |
|---|---|---|
| committer | Damien Le Moal <dlemoal@kernel.org> | 2026-07-23 16:40:05 +0900 |
| commit | 43ea91dadb35579169884f6707d43f7b2607153d (patch) | |
| tree | 1a926eb4c3e1f106ce8e6bbc81b54e897023feea /tools/perf/scripts/python/stackcollapse.py | |
| parent | 4a2e5409472e8a0e3e2817e149c55c1d5f803742 (diff) | |
ata: pata_pxa: use devres for DMA channel management
Convert the DMA channel request to devm_dma_request_chan() so the
channel is released automatically on device teardown. This removes
the explicit dma_release_channel() calls in the probe error paths
and in pxa_ata_remove(), simplifying the driver.
Use ata_platform_remove_one() which is now equivalent to what remains of
the remove function after dma_release_channel() removal.
Built as a module for arm/pxa_defconfig (CONFIG_PATA_PXA=m) with
LLVM=1 W=1; no new warnings.
Assisted-by: opencode:hy3-free
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
