]> 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)
commit1e4929d48fe5da75e435b09a39a0cd48cb2e4b66
treed9bb6fa850627837b5bdfbe7bc926666527f4bd2
parenta35fdc89ac7fb32a7facf7a7cae7d8c1080960ad
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