]> git.baikalelectronics.ru Git - kernel.git/commit
drm/sun4i: sun8i-hdmi-phy: Use devm_platform_ioremap_resource
authorSamuel Holland <samuel@sholland.org>
Wed, 15 Jun 2022 04:55:39 +0000 (23:55 -0500)
committerMaxime Ripard <maxime@cerno.tech>
Thu, 16 Jun 2022 07:27:46 +0000 (09:27 +0200)
commitc627a2a2021d95673e3db3a43124768589979c6b
treedd7963cc8aceccde7c95914e788e7e3b4920fa7d
parente6dcbadb6eb7bf635c536e46fdba9cc26b4a737c
drm/sun4i: sun8i-hdmi-phy: Use devm_platform_ioremap_resource

The struct resource is not used for anything else, so we can simplify
the code a bit by using the helper 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-3-samuel@sholland.org
drivers/gpu/drm/sun4i/sun8i_hdmi_phy.c