drm/mediatek: Drop local dma_parms

Since commit 9495b7e92f ("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.

Also the DMA segment size is simply a size, not a bitmask.

Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>
This commit is contained in:
Robin Murphy 2020-09-03 21:59:14 +01:00 • committed by Chun-Kuang Hu
commit 31855cff03
2 changed files with 3 additions and 26 deletions