]> git.baikalelectronics.ru Git - kernel.git/commit
dmaengine: k3dma: Use devm_platform_ioremap_resource() in k3_dma_probe()
authorMarkus Elfring <elfring@users.sourceforge.net>
Sun, 22 Sep 2019 09:36:18 +0000 (11:36 +0200)
committerVinod Koul <vkoul@kernel.org>
Mon, 14 Oct 2019 07:51:20 +0000 (13:21 +0530)
commit2d4d81d87b69c4fe992c3c327eaab68cf7a225c0
tree67ac23dab43fd315df1c867f5db640504643e0e6
parentdbccde45d95dbfb66a4995f98c41c5cf06d1e35f
dmaengine: k3dma: Use devm_platform_ioremap_resource() in k3_dma_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/aaed7862-49bb-e368-3e7b-5cc2c3d915b1@web.de
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/k3dma.c