media: dw100: use devm_platform_get_and_ioremap_resource()
authorYe Xingchen <ye.xingchen@zte.com.cn>
Wed, 8 Feb 2023 08:35:44 +0000 (09:35 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Sun, 19 Mar 2023 21:52:37 +0000 (22:52 +0100)
commitcf75b2970352ad082d2e866e564ea26f60d3c545
treedaf6dce747377fb3ecab32f80124907fae51dfa9
parent2371adeab717d8fe32144a84f3491a03c5838cfb
media: dw100: 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>
Reviewed-by: Xavier Roumegue <xavier.roumegue@oss.nxp.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/platform/nxp/dw100/dw100.c