Skip to content
Commit 42c3cdaa authored by Yangtao Li's avatar Yangtao Li Committed by Vinod Koul
Browse files

dmaengine: stm32-dma: Use devm_platform_get_and_ioremap_resource()



Convert platform_get_resource(), devm_ioremap_resource() to a single
call to devm_platform_get_and_ioremap_resource(), as this is exactly
what this function does.

Signed-off-by: default avatarYangtao Li <frank.li@vivo.com>
Reviewed-by: default avatarAmelie Delaunay <amelie.delaunay@foss.st.com>
Tested-by: default avatarAmelie Delaunay <amelie.delaunay@foss.st.com>
Link: https://lore.kernel.org/r/20230705081856.13734-5-frank.li@vivo.com


Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent 8b229a01
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment