media: rcar_drif: Make use of the helper function devm_platform_get_and_ioremap_resou...
authorCai Huoqing <caihuoqing@baidu.com>
Wed, 1 Sep 2021 11:44:59 +0000 (13:44 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 30 Sep 2021 08:07:53 +0000 (10:07 +0200)
commit1b03b539e63512cc003982113a51b520b7582d93
treebff529880c51e552145bbd81ab7f3003f3d7936b
parente0bee542882f953f62106325067b5416e111e24f
media: rcar_drif: Make use of the helper function devm_platform_get_and_ioremap_resource()

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

Signed-off-by: Cai Huoqing <caihuoqing@baidu.com>
Acked-by: Fabrizio Castro <fabrizio.castro.jz@renesas.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>
drivers/media/platform/rcar_drif.c