dmaengine: axi-dmac: Drop local dma_parms
authorRobin Murphy <robin.murphy@arm.com>
Thu, 3 Sep 2020 20:25:45 +0000 (21:25 +0100)
committerVinod Koul <vkoul@kernel.org>
Fri, 11 Sep 2020 12:12:12 +0000 (17:42 +0530)
commita4b1e659c0fec8e718cf63fb0c59cbae9251141c
treedf003b1ac6b77421c38486652e1599e4e575f349
parent8f6b6d0606023c8403ac04ba42177ecbb55769f6
dmaengine: axi-dmac: Drop local dma_parms

Since commit 9495b7e92f71 ("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/9b759e4c9eb37c90a3616d31abe13af6a6dafcd2.1599164692.git.robin.murphy@arm.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/dma-axi-dmac.c