Commit 5161b96d authored by Kuninori Morimoto's avatar Kuninori Morimoto Committed by Bartlomiej Zolnierkiewicz
Browse files

omapfb: use of_graph_get_remote_endpoint()



Now, we can use of_graph_get_remote_endpoint(). Let's use it.

Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
Signed-off-by: default avatarBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
parent dd0c41f8
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -16,6 +16,7 @@
#include <linux/err.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/of_graph.h>
#include <linux/seq_file.h>

#include <video/omapfb_dss.h>
@@ -128,7 +129,7 @@ static struct device_node *omapdss_of_get_remote_port(const struct device_node *
{
	struct device_node *np;

	np = of_parse_phandle(node, "remote-endpoint", 0);
	np = of_graph_get_remote_endpoint(node);
	if (!np)
		return NULL;