OSDN Git Service

media: meson: ge2d: Make use of the helper function devm_platform_ioremap_resource()
authorCai Huoqing <caihuoqing@baidu.com>
Wed, 1 Sep 2021 05:51:54 +0000 (07:51 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 30 Sep 2021 08:07:50 +0000 (10:07 +0200)
commitaf2450254052e0da8c42501ee3e2801cc5a6c1f3
tree62b10839332a475a9318ea7d497bb0ccd604a26c
parent5f328fb58c373317d782084a0cb1e17f7374589b
media: meson: ge2d: Make use of the helper function devm_platform_ioremap_resource()

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: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/platform/meson/ge2d/ge2d.c