]> git.baikalelectronics.ru Git - kernel.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)
commitc21204d045e7abaa64658f32b1227ceca0a5b371
treef6e7937a40f974fda36fa1c92e3b1ea382239634
parent338b9b6ae96c54f642dd8edfde9ce3f9cf938de1
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