media: platform: stm32: use devm_platform_get_and_ioremap_resource()
authorYe Xingchen <ye.xingchen@zte.com.cn>
Wed, 8 Feb 2023 09:01:06 +0000 (10:01 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Sun, 19 Mar 2023 21:53:24 +0000 (22:53 +0100)
commit35dac920f721ccfed1116e807b90d8971db3d457
treee4f498a7d3fc5ac6aebeecafc99841feb79292c2
parent2b64bcb76ac525d712116cd5d0dbb4c663cad63c
media: platform: stm32: 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: Ye Xingchen <ye.xingchen@zte.com.cn>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/platform/st/stm32/dma2d/dma2d.c