OSDN Git Service

drm/omap: Make use of the helper function devm_platform_ioremap_resourcexxx()
authorCai Huoqing <caihuoqing@baidu.com>
Tue, 31 Aug 2021 13:57:06 +0000 (21:57 +0800)
committerTomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Wed, 10 Nov 2021 11:51:26 +0000 (13:51 +0200)
commited8414ab041fc7c517532e90d00ce09ed528dadc
treef67b4e3686d5fe0007afadcdc5cf022b9424345d
parentb92f7ea556f8b74ba08cdc27258941e293400050
drm/omap: Make use of the helper function devm_platform_ioremap_resourcexxx()

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

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: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210831135707.4676-1-caihuoqing@baidu.com
drivers/gpu/drm/omapdrm/dss/dispc.c
drivers/gpu/drm/omapdrm/dss/dsi.c
drivers/gpu/drm/omapdrm/dss/dss.c
drivers/gpu/drm/omapdrm/dss/hdmi4_core.c
drivers/gpu/drm/omapdrm/dss/hdmi5_core.c
drivers/gpu/drm/omapdrm/dss/hdmi_phy.c
drivers/gpu/drm/omapdrm/dss/hdmi_pll.c
drivers/gpu/drm/omapdrm/dss/venc.c
drivers/gpu/drm/omapdrm/dss/video-pll.c