]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit06c96b84657233ccc5d98b072f1505b72683ae87
treecb5f9e8250594cc33c9c91c7532c51e7d304ec64
parent2240b6807a750c276b24e2b4f8ab70c5e13497cd
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