]> git.baikalelectronics.ru Git - kernel.git/commit
media: rcar_fdp1: Make use of the helper function devm_platform_ioremap_resource()
authorCai Huoqing <caihuoqing@baidu.com>
Wed, 1 Sep 2021 05:55:24 +0000 (07:55 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 May 2023 09:35:38 +0000 (11:35 +0200)
commit6d6f05e70fc3d704bdbc58dcaa08b95fa48b7a44
tree720cb2d3e87d271501023bf4c5c5b5ce7071f729
parentc3433771abb2a82646de373e80b52e31f5fe486f
media: rcar_fdp1: Make use of the helper function devm_platform_ioremap_resource()

[ Upstream commit e47c161f1c8ed77ce3850c323914437c8adcaad8 ]

Use the devm_platform_ioremap_resource() helper instead of
calling platform_get_resource() and devm_ioremap_resource()
separately

Signed-off-by: Cai Huoqing <caihuoqing@baidu.com>
Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Stable-dep-of: c766c90faf93 ("media: rcar_fdp1: Fix refcount leak in probe and remove function")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/media/platform/rcar_fdp1.c