]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdeb5781db774e0539959c596b5f4350d71baacb2
treebff529880c51e552145bbd81ab7f3003f3d7936b
parent8b48f29324343c2abe22836976b0c8b30914345a
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