media: staging: media: rkvdec: Make use of the helper function devm_platform_ioremap_...
authorCai Huoqing <caihuoqing@baidu.com>
Wed, 8 Sep 2021 10:57:59 +0000 (12:57 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Jun 2022 08:22:59 +0000 (10:22 +0200)
commit3c90fdbac6b2769d3592c91aa6c7ae5c68e5f621
tree5452ed29261d85da844b7b7ac447f14889ba88d8
parent54d6fdf66dd48367610a049dd0dde1633b668125
media: staging: media: rkvdec: Make use of the helper function devm_platform_ioremap_resource()

[ Upstream commit 5a3683d60e56f4faa9552d3efafd87ef106dd393 ]

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>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/staging/media/rkvdec/rkvdec.c