diff options
| author | Amelie Delaunay <amelie.delaunay@foss.st.com> | 2025-11-21 14:36:59 +0100 |
|---|---|---|
| committer | Vinod Koul <vkoul@kernel.org> | 2025-12-16 21:36:31 +0530 |
| commit | 8be4f3cbe263d22053d7afea4efee2e7178eee21 (patch) | |
| tree | 5f89b9a04b1eb95b44ccf9bd989d6bb8572d3713 /tools/perf/scripts/python/bin | |
| parent | dea737e31c2c62df5a45871bfb4ceb90a112dbd8 (diff) | |
| download | linux-8be4f3cbe263d22053d7afea4efee2e7178eee21.tar.gz linux-8be4f3cbe263d22053d7afea4efee2e7178eee21.zip | |
dmaengine: stm32-dma3: introduce ddata2dev helper
The purpose of this helper is to 'standardize' device pointer retrieval,
similar to the chan2dev() helper.
ddata2dev() helper returns the device pointer from struct dma_device stored
in stm32_dma3_ddata structure.
Device pointer from struct dma_device has been initialized with &pdev->dev,
so the ddata2dev helper returns &pdev->dev.
Signed-off-by: Amelie Delaunay <amelie.delaunay@foss.st.com>
Link: https://patch.msgid.link/20251121-dma3_improv-v2-4-76a207b13ea6@foss.st.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
