drm/sun4i: sun8i-hdmi-phy: Use of_device_get_match_data
authorSamuel Holland <samuel@sholland.org>
Wed, 15 Jun 2022 04:55:38 +0000 (23:55 -0500)
committerMaxime Ripard <maxime@cerno.tech>
Thu, 16 Jun 2022 07:27:46 +0000 (09:27 +0200)
commit1a395a5604d8e2231d52108ced3d8ea0259ca607
tree745b51d5de8690c21b2b9020c714a458c5d4990d
parentc0c87382c1a6985cd12a49a62a893361e5fd1b8f
drm/sun4i: sun8i-hdmi-phy: Use of_device_get_match_data

Now that the HDMI PHY is using a platform driver, we can use the usual
helper function for getting the variant structure.

Signed-off-by: Samuel Holland <samuel@sholland.org>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://lore.kernel.org/r/20220615045543.62813-2-samuel@sholland.org
drivers/gpu/drm/sun4i/sun8i_dw_hdmi.h
drivers/gpu/drm/sun4i/sun8i_hdmi_phy.c