drm/vc4: hdmi: Remove unnecessary pm_runtime_put
authorMaxime Ripard <maxime@cerno.tech>
Tue, 14 Sep 2021 13:23:47 +0000 (15:23 +0200)
committerPhil Elwell <8911409+pelwell@users.noreply.github.com>
Tue, 14 Sep 2021 13:52:01 +0000 (14:52 +0100)
commitf8d389e25fb233dd692f2a3fbcf6133c0e31bc4b
treea6962a0007d8f27c7bba0194c54d1f13cf8227c3
parent235ecb54316f40548743409af2db23283c39cf35
drm/vc4: hdmi: Remove unnecessary pm_runtime_put

Unlike pm_runtime_get_sync(), pm_runtime_resume_and_get() doesn't take a
reference on failure, so we don't need to call pm_runtime_put() on
failure.

Signed-off-by: Maxime Ripard <maxime@cerno.tech>
drivers/gpu/drm/vc4/vc4_hdmi.c