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)
commit719216eb51e9eaf4c8198d3a6704154477730e4a
treedd7963cc8aceccde7c95914e788e7e3b4920fa7d
parent1a395a5604d8e2231d52108ced3d8ea0259ca607
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