drm/tidss: use devm_platform_ioremap_resource_byname
authorWang Xiaojun <wangxiaojun11@huawei.com>
Thu, 17 Sep 2020 06:29:58 +0000 (14:29 +0800)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 10 Nov 2020 12:34:16 +0000 (14:34 +0200)
commit3945ac0ea8ca213e09e6d62c0ce14f3b3941ad2c
treed078b08489efc086ca52d180730ac2bcc9e64cf4
parentae36fcccfaf5f3666beb3cf30aea9127b926ab64
drm/tidss: use devm_platform_ioremap_resource_byname

Use the devm_platform_ioremap_resource_byname() helper instead of
calling platform_get_resource_byname() and devm_ioremap_resource()
separately.

Signed-off-by: Wang Xiaojun <wangxiaojun11@huawei.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200917062958.2183496-1-wangxiaojun11@huawei.com
drivers/gpu/drm/tidss/tidss_dispc.c