]> git.baikalelectronics.ru Git - kernel.git/commit
dmaengine: qcom: bam_dma: Drop local dma_parms
authorRobin Murphy <robin.murphy@arm.com>
Thu, 3 Sep 2020 20:25:52 +0000 (21:25 +0100)
committerVinod Koul <vkoul@kernel.org>
Fri, 11 Sep 2020 12:12:13 +0000 (17:42 +0530)
commit08bb0157802e6994fc2613db0c51a994edefe498
tree0787589671ff58bc972a7b0b7ff3382689798c5a
parent4811c375924cdf9573fd3496533695cd05d88c75
dmaengine: qcom: bam_dma: Drop local dma_parms

Since commit 75a877d1eaa6 ("driver core: platform: Initialize dma_parms
for platform devices"), struct platform_device already provides a
dma_parms structure, so we can save allocating another one.

Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Link: https://lore.kernel.org/r/60ac2ef17e242dbf631db29ebde9d64d6df67030.1599164692.git.robin.murphy@arm.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/qcom/bam_dma.c