]> git.baikalelectronics.ru Git - kernel.git/commit
dmaengine: zx: Use devm_platform_ioremap_resource() in zx_dma_probe()
authorMarkus Elfring <elfring@users.sourceforge.net>
Sun, 22 Sep 2019 12:32:12 +0000 (14:32 +0200)
committerVinod Koul <vkoul@kernel.org>
Mon, 14 Oct 2019 07:51:21 +0000 (13:21 +0530)
commit8a0bfb07b495abd3ea2390c0230683f2c181278b
treeafaf96a8f75af6b39d59475ef94904749cf7c75b
parentc0586574b3fd0eee7db0792205955bcee295371b
dmaengine: zx: Use devm_platform_ioremap_resource() in zx_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>
Acked-by: Shawn Guo <shawnguo@kernel.org>
Link: https://lore.kernel.org/r/85de79fa-1ca5-a1e5-0296-9e8a2066f134@web.de
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/zx_dma.c