]> git.baikalelectronics.ru Git - kernel.git/commit
dmaengine: mediatek: Use devm_platform_ioremap_resource() in mtk_cqdma_probe()
authorMarkus Elfring <elfring@users.sourceforge.net>
Sun, 22 Sep 2019 10:52:25 +0000 (12:52 +0200)
committerVinod Koul <vkoul@kernel.org>
Mon, 14 Oct 2019 07:51:20 +0000 (13:21 +0530)
commit3422111dd6604b64695d502d0876253a4a0a3bf7
treea46600bcc584cff93f0d8fed60574907017ac6fa
parent2d4d81d87b69c4fe992c3c327eaab68cf7a225c0
dmaengine: mediatek: Use devm_platform_ioremap_resource() in mtk_cqdma_probe()

Simplify this function implementation a bit by using
a known wrapper function.

This issue was detected by using the Coccinelle software.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Link: https://lore.kernel.org/r/c7e3bbae-44fa-9019-18ee-c6cdfd7c2a14@web.de
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/mediatek/mtk-cqdma.c