drm/sun4i: sun8i-hdmi-phy: Used device-managed clocks/resets
authorSamuel Holland <samuel@sholland.org>
Wed, 15 Jun 2022 04:55:40 +0000 (23:55 -0500)
committerMaxime Ripard <maxime@cerno.tech>
Thu, 16 Jun 2022 07:27:46 +0000 (09:27 +0200)
commit94c25fb1dfc38ab1c7f216a554621c9ad8bb4ecf
treed9bb6fa850627837b5bdfbe7bc926666527f4bd2
parent719216eb51e9eaf4c8198d3a6704154477730e4a
drm/sun4i: sun8i-hdmi-phy: Used device-managed clocks/resets

Now that the HDMI PHY is using a platform driver, it can use device-
managed resources. Use these, as well as the dev_err_probe helper, to
simplify the probe function and get rid of the remove function.

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