media: stm32-dcmi: Use devm_platform_get_and_ioremap_resource()
authorYangtao Li <frank.li@vivo.com>
Thu, 6 Jul 2023 10:10:56 +0000 (18:10 +0800)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Wed, 19 Jul 2023 10:57:49 +0000 (12:57 +0200)
commit6f92b43f2af0c610cc5e711f9b61a7c950d762a7
treec25d40d30686e339c3712cc07084bfe51fe6eccb
parent3490891f1900e8ba0b6e8da80b8f9226baac91f0
media: stm32-dcmi: 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: Yangtao Li <frank.li@vivo.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
drivers/media/platform/st/stm32/stm32-dcmi.c