]> asedeno.scripts.mit.edu Git - linux.git/commit
dmaengine: at_xdmac: Use devm_platform_ioremap_resource() in at_xdmac_probe()
authorMarkus Elfring <elfring@users.sourceforge.net>
Sun, 22 Sep 2019 08:37:31 +0000 (10:37 +0200)
committerVinod Koul <vkoul@kernel.org>
Mon, 14 Oct 2019 07:51:20 +0000 (13:21 +0530)
commitfbd1d637f6d1a5b0d2b487299111b06fb0b3c3fd
treef6e7937a40f974fda36fa1c92e3b1ea382239634
parentfcf8adb787073ba6c673c1bb9900a059c7f6676f
dmaengine: at_xdmac: Use devm_platform_ioremap_resource() in at_xdmac_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: Ludovic Desroches <ludovic.desroches@microchip.com>
Link: https://lore.kernel.org/r/377247f3-b53a-a9d9-66c7-4b8515de3809@web.de
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/at_xdmac.c