]> git.baikalelectronics.ru Git - kernel.git/commit
dmaengine: jz4780: Use devm_platform_ioremap_resource() in jz4780_dma_probe()
authorMarkus Elfring <elfring@users.sourceforge.net>
Sun, 22 Sep 2019 09:18:27 +0000 (11:18 +0200)
committerVinod Koul <vkoul@kernel.org>
Mon, 14 Oct 2019 07:51:20 +0000 (13:21 +0530)
commitdbccde45d95dbfb66a4995f98c41c5cf06d1e35f
treed8489d610415dc1839d0acb38dd823ce4b2068b0
parentc21204d045e7abaa64658f32b1227ceca0a5b371
dmaengine: jz4780: Use devm_platform_ioremap_resource() in jz4780_dma_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/5dd19f28-349a-4957-ea3a-6aebbd7c97e2@web.de
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/dma-jz4780.c