diff options
author | Mark Brown <broonie@kernel.org> | 2025-06-27 12:07:07 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2025-06-27 12:07:07 +0100 |
commit | 46e001c003e30ed830a69e46c13ea02cd35b6093 (patch) | |
tree | 5ce7abbe0f8157cf1e95ddfba0d81339967c66de /rust/helpers/build_assert.c | |
parent | ac4c064f67d3cdf9118b9b09c1e3b28b6c10a7ea (diff) | |
parent | 2555691165a0285a4617230fed859f20dcc51608 (diff) |
Add `devm_dma_request_chan()` to simplify probe
Merge series from Bence Csókás <csokas.bence@prolan.hu>:
The probe function of the atmel-quadspi driver got quite convoluted,
especially since the addition of SAMA7G5 support, that was forward-ported
from an older vendor kernel. To alleivate this - and similar problems in
the future - an effort was made to migrate as many functions as possible,
to their devm_ managed counterparts. Patch 1/2 adds the new
`devm_dma_request_chan()` function. Patch 2/2 then uses this APIs to
simplify the probe() function.
Diffstat (limited to 'rust/helpers/build_assert.c')
0 files changed, 0 insertions, 0 deletions