CHROMIUM: drm: bridge/dw_hdmi: Eliminate dw_hdmi_fb_registered()
authorDouglas Anderson <dianders@chromium.org>
Wed, 16 Sep 2015 15:49:33 +0000 (08:49 -0700)
committerHuang, Tao <huangtao@rock-chips.com>
Tue, 16 Aug 2016 06:34:07 +0000 (14:34 +0800)
commitd994162350fe7f1c86d833b283bdfaf120f77bf2
tree8eb416ad4e0cf98b71f7b56e88fa0e80035f3d3d
parenta4aebb43119332c8ff0f6507e77f376f213c30f2
CHROMIUM: drm: bridge/dw_hdmi: Eliminate dw_hdmi_fb_registered()

This is a no-op change that eliminates the dw_hdmi_fb_registered()
function and just folds the code into the one caller of the function:
hdmi_unmute_interrupts().

Eliminated because:

* The name and comment of the function implied that it was to be called
  after the frame buffer was registered.  ...but it wasn't called when
  that happened, at least not directly.

* The function does some parts of enabling the HPD interrupt but not all
  parts.  Other parts are done by the calling function, and the calling
  function also duplicates some bits (like clearing existing HPD).  The
  split doesn't make sense.

A future change will reorganize hdmi_unmute_interrupts() a little.

BUG=chrome-os-partner:44922
TEST=HDMI still works fine.

Change-Id: Ib77c03dd8f4791bc7276ccab184ff5b766de5ddd
Signed-off-by: Douglas Anderson <dianders@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/299776
Reviewed-by: Yakir Yang <ykk@rock-chips.com>
Signed-off-by: Yakir Yang <ykk@rock-chips.com>
drivers/gpu/drm/bridge/dw-hdmi.c