]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit000697f0c416bea136d31191cb766d469766b742
treed9bb6fa850627837b5bdfbe7bc926666527f4bd2
parentc627a2a2021d95673e3db3a43124768589979c6b
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