]> git.baikalelectronics.ru Git - kernel.git/commit
dmaengine: rcar-dmac: Use devm_platform_ioremap_resource()
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Mon, 9 Sep 2019 06:34:51 +0000 (15:34 +0900)
committerVinod Koul <vkoul@kernel.org>
Mon, 14 Oct 2019 06:56:58 +0000 (12:26 +0530)
commit364c4c4823bd35296e8467b9492b738d0dd3acee
tree9f1d4fedede23c302a4e1537dceee41c8b0212f9
parent711a78968de2507b972ca1c0079fa65c4162f8a3
dmaengine: rcar-dmac: Use devm_platform_ioremap_resource()

This patch uses devm_platform_ioremap_resource() instead of
using platform_get_resource() and devm_ioremap_resource() together
to simplify.

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
Link: https://lore.kernel.org/r/1568010892-17606-4-git-send-email-yoshihiro.shimoda.uh@renesas.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/sh/rcar-dmac.c