dmaengine: rcar-dmac: Drop local dma_parms
authorRobin Murphy <robin.murphy@arm.com>
Thu, 3 Sep 2020 20:25:50 +0000 (21:25 +0100)
committerVinod Koul <vkoul@kernel.org>
Fri, 11 Sep 2020 12:12:13 +0000 (17:42 +0530)
commit93f868818216b3a1f15f0927195d3b0fa7227677
tree32a82f235b8ba694da3a281cf27c0d80f987e4e7
parent6c609220c3a167c8a45d890d4fa95b02c02b8af5
dmaengine: rcar-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/23d40e15af10aad4724a2770ec18b4b28c1b8a71.1599164692.git.robin.murphy@arm.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/sh/rcar-dmac.c