media: platform: ti: Use devm_platform_get_and_ioremap_resource()
authorYangtao Li <frank.li@vivo.com>
Thu, 6 Jul 2023 10:10:57 +0000 (18:10 +0800)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Wed, 19 Jul 2023 10:57:49 +0000 (12:57 +0200)
commitb8cf18bc4eadf4522b4937b3185dfa331d039e70
tree790494178d2b15b6dea690159fa21028d2a63195
parent6f92b43f2af0c610cc5e711f9b61a7c950d762a7
media: platform: ti: 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>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
[hverkuil: retained the line wrap]
drivers/media/platform/ti/omap3isp/isp.c