drm/rockchip: rk3066_hdmi: Use devm_platform_ioremap_resource() in rk3066_hdmi_bind()
authorMarkus Elfring <elfring@users.sourceforge.net>
Sat, 21 Sep 2019 18:32:25 +0000 (20:32 +0200)
committerHeiko Stuebner <heiko@sntech.de>
Sun, 13 Oct 2019 21:52:55 +0000 (23:52 +0200)
commit9abdcff7205899d38213e69287fb63e6c87e2fc8
tree3da50232d68202132e93e0e9d54bdb901ba2b397
parent695379b3734266a49c13e6b7cbf1062902dc6367
drm/rockchip: rk3066_hdmi: Use devm_platform_ioremap_resource() in rk3066_hdmi_bind()

Simplify this function implementation by using a known wrapper function.

This issue was detected by using the Coccinelle software.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://patchwork.freedesktop.org/patch/msgid/0666bc0b-6624-21a0-47c4-b78e2a3b3ad5@web.de
drivers/gpu/drm/rockchip/rk3066_hdmi.c