dmaengine: ti: k3-udma: use devm_platform_ioremap_resource_byname
authorZhang Qilong <zhangqilong3@huawei.com>
Mon, 21 Sep 2020 09:37:01 +0000 (17:37 +0800)
committerVinod Koul <vkoul@kernel.org>
Mon, 5 Oct 2020 04:43:47 +0000 (10:13 +0530)
commitea275007c9473a7be66a47e0823482f6bd8aacd0
treee16b2f1fbef19fd9e82ec5bf85940d3ee5c76668
parent0395f869f685c256822c5041750e6e130a16ec1b
dmaengine: ti: k3-udma: use devm_platform_ioremap_resource_byname

Use the devm_platform_ioremap_resource_byname() helper instead of
calling platform_get_resource_byname() and devm_ioremap_resource()
separately.

Signed-off-by: Zhang Qilong <zhangqilong3@huawei.com>
Acked-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Link: https://lore.kernel.org/r/20200921093701.102208-1-zhangqilong3@huawei.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/ti/k3-udma.c