]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit043717f902374a806a35de2ce4a736dd4545157c
tree32a82f235b8ba694da3a281cf27c0d80f987e4e7
parent6fab747826da50009a906cc49295ec8b0bc11395
dmaengine: rcar-dmac: 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/23d40e15af10aad4724a2770ec18b4b28c1b8a71.1599164692.git.robin.murphy@arm.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/sh/rcar-dmac.c