media: marvell: Use devm_platform_get_and_ioremap_resource()
authorYangtao Li <frank.li@vivo.com>
Thu, 6 Jul 2023 10:10:51 +0000 (18:10 +0800)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Wed, 19 Jul 2023 10:57:48 +0000 (12:57 +0200)
commitd9a88c7ca5ceacb30cfb010efa9f3bb1253ae24e
tree00f5db3607b066956933451826ff96879c716cc4
parentf3e76caadf62f2db32c63bbdb3531a816c205d6d
media: marvell: 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/marvell/mmp-driver.c