]> git.baikalelectronics.ru Git - kernel.git/commit
dmaengine: mediatek: Use devm_platform_ioremap_resource() in mtk_uart_apdma_probe()
authorMarkus Elfring <elfring@users.sourceforge.net>
Sun, 22 Sep 2019 11:07:41 +0000 (13:07 +0200)
committerVinod Koul <vkoul@kernel.org>
Mon, 14 Oct 2019 07:51:20 +0000 (13:21 +0530)
commit58cdaf4595eec8721e9f2b29eb0c2308a129e5ee
tree117a6f451c5210263ee77a9e93bc97e13e737feb
parent3422111dd6604b64695d502d0876253a4a0a3bf7
dmaengine: mediatek: Use devm_platform_ioremap_resource() in mtk_uart_apdma_probe()

Simplify this function implementation 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/366e776c-8760-eeb7-c248-7380c9f4fd34@web.de
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/mediatek/mtk-uart-apdma.c