of: Add of_graph_get_port_by_id function
authorPhilipp Zabel <p.zabel@pengutronix.de>
Tue, 11 Mar 2014 10:21:11 +0000 (11:21 +0100)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Mon, 23 Feb 2015 10:42:24 +0000 (11:42 +0100)
commitbfe446e37c4efd8ade454911e8f80414bcbfc10d
treed8fe4cfe825c975e1ceac2a76a2dca97e47154e7
parentee8905963ed0bc9dfc0952dc35e16e233c10e212
of: Add of_graph_get_port_by_id function

This patch adds a function to get a port device tree node by port id,
or reg property value.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
drivers/of/base.c
include/linux/of_graph.h