OSDN Git Service

drm/bridge: cdns: Make use of the helper function devm_platform_ioremap_resource()
authorCai Huoqing <caihuoqing@baidu.com>
Tue, 31 Aug 2021 13:50:47 +0000 (21:50 +0800)
committerRobert Foss <robert.foss@linaro.org>
Tue, 31 Aug 2021 14:24:00 +0000 (16:24 +0200)
commitd39491d86f506a1ce139a4289edb812724f200bf
treecb5f9e8250594cc33c9c91c7532c51e7d304ec64
parent8b03e3fc79189b17d31a82f5e175698802a11e87
drm/bridge: cdns: 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: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Robert Foss <robert.foss@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20210831135048.4305-1-caihuoqing@baidu.com
drivers/gpu/drm/bridge/cdns-dsi.c