drm/mediatek: convert dpi driver to use drm_of_find_panel_or_bridge
authorchunhui dai <chunhui.dai@mediatek.com>
Wed, 3 Oct 2018 03:41:45 +0000 (11:41 +0800)
committerCK Hu <ck.hu@mediatek.com>
Wed, 3 Oct 2018 03:56:32 +0000 (11:56 +0800)
commitbcc97daee6b8120d1ffeee0073b49bfbd3df026d
treeb321378eb62d4fa033f3067bfca654974badaa80
parent55c78aa5c808ba7a95bf271a3486f0d14be519ce
drm/mediatek: convert dpi driver to use drm_of_find_panel_or_bridge

Convert dpi driver to use drm_of_find_panel_or_bridge.
This changes some error messages to debug messages (in the graph core).
Graph connections are often "no connects" depending on the particular
board, so we want to avoid spurious messages. Plus the kernel is not a
DT validator.
related links:
[1] https://lkml.org/lkml/2017/2/3/716
[2] https://lkml.org/lkml/2017/2/3/719

Signed-off-by: chunhui dai <chunhui.dai@mediatek.com>
Signed-off-by: CK Hu <ck.hu@mediatek.com>
drivers/gpu/drm/mediatek/mtk_dpi.c