drm/komeda: Drop local dma_parms
authorRobin Murphy <robin.murphy@arm.com>
Thu, 3 Sep 2020 20:36:13 +0000 (21:36 +0100)
committerLiviu Dudau <liviu.dudau@arm.com>
Tue, 20 Oct 2020 19:41:02 +0000 (20:41 +0100)
commit1c831ade9f352d4690e2c3c67b674bc65cb3af3e
treee267e49b1f4852fe8725d65c4e3f56cdf662e0dc
parentea40d7857d5250e5400f38c69ef9e17321e9c4a2
drm/komeda: 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>
Reviewed-by: James Qian Wang <james.qian.wang@arm.com>
[replaced DMA_BIT_MASK(32) with U32_MAX]
Signed-off-by: Liviu Dudau <liviu.dudau@arm.com>
Link: https://patchwork.freedesktop.org/patch/msgid/8de297b5b916628c77b99068fb5aac1a69eed6f5.1599164796.git.robin.murphy@arm.com
drivers/gpu/drm/arm/display/komeda/komeda_dev.c
drivers/gpu/drm/arm/display/komeda/komeda_dev.h