Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm: bridge/dw-hdmi: Remove pre_enable/post_disable dummy funcs

We don't need to keep empty callbacks for the (pre/post) enable/disable
drm_bridge ops anymore. Remove the nop callback used here for
pre_enable and post_disable ops.

Signed-off-by: Archit Taneja <architt@codeaurora.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1459329804-10488-1-git-send-email-architt@codeaurora.org

authored by

Archit Taneja and committed by
Daniel Vetter
67535531 a91d7b91

-7
-7
drivers/gpu/drm/bridge/dw-hdmi.c
··· 1413 1413 mutex_unlock(&hdmi->mutex); 1414 1414 } 1415 1415 1416 - static void dw_hdmi_bridge_nop(struct drm_bridge *bridge) 1417 - { 1418 - /* do nothing */ 1419 - } 1420 - 1421 1416 static enum drm_connector_status 1422 1417 dw_hdmi_connector_detect(struct drm_connector *connector, bool force) 1423 1418 { ··· 1531 1536 static const struct drm_bridge_funcs dw_hdmi_bridge_funcs = { 1532 1537 .enable = dw_hdmi_bridge_enable, 1533 1538 .disable = dw_hdmi_bridge_disable, 1534 - .pre_enable = dw_hdmi_bridge_nop, 1535 - .post_disable = dw_hdmi_bridge_nop, 1536 1539 .mode_set = dw_hdmi_bridge_mode_set, 1537 1540 }; 1538 1541