drm: Use device_get_match_data()
authorRob Herring <robh@kernel.org>
Fri, 20 Oct 2023 12:52:13 +0000 (07:52 -0500)
committerRob Herring <robh@kernel.org>
Mon, 27 Nov 2023 19:56:32 +0000 (13:56 -0600)
commite17049148678725248a57ecbf9c21df0fde3b434
tree9274d138f06c7801fe356fe350bbed36ec08cf03
parent19b4c60ce8660a0e3a2cebd3e4dc0691928d015d
drm: Use device_get_match_data()

Use preferred device_get_match_data() instead of of_match_device() to
get the driver match data in a single step. With this, adjust the
includes to explicitly include the correct headers. That also serves as
preparation to remove implicit includes within the DT headers
(of_device.h in particular).

Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Reviewed-by: Andrew Jeffery <andrew@codeconstruct.com.au>
Link: https://lore.kernel.org/r/20231020125214.2930329-1-robh@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
drivers/gpu/drm/armada/armada_crtc.c
drivers/gpu/drm/aspeed/aspeed_gfx_drv.c
drivers/gpu/drm/exynos/exynos_drm_gsc.c
drivers/gpu/drm/imx/ipuv3/imx-ldb.c
drivers/gpu/drm/mxsfb/mxsfb_drv.c
drivers/gpu/drm/omapdrm/dss/dispc.c
drivers/gpu/drm/omapdrm/dss/dss.c