]> git.baikalelectronics.ru Git - kernel.git/commit
drm/bridge: lvds-codec: Simplify panel DT node localisation
authorFabrizio Castro <fabrizio.castro@bp.renesas.com>
Wed, 13 Nov 2019 15:51:26 +0000 (15:51 +0000)
committerNeil Armstrong <narmstrong@baylibre.com>
Wed, 18 Dec 2019 11:26:09 +0000 (12:26 +0100)
commit90754b37109f62ee6f38c5b3f3c95d03f21a054c
tree8f6f0c620af8405f7a5cc4e453f1f1a02d900424
parent29ac50dd11dcaab579fbc490cb070c26bb2f1ea1
drm/bridge: lvds-codec: Simplify panel DT node localisation

The probe function needs to get ahold of the panel device tree
node, and it achieves that by using a combination of
of_graph_get_port_by_id, of_get_child_by_name, and
of_graph_get_remote_port_parent. We can achieve the same goal
by replacing those calls with a call to of_graph_get_remote_node
these days.

Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1573660292-10629-8-git-send-email-fabrizio.castro@bp.renesas.com
drivers/gpu/drm/bridge/lvds-codec.c