Re: [PATCH v6 3/3] of: Add of_graph_get_port_by_id function

2014-12-23 Thread Philipp Zabel
Hi Andrzej, On Tue, Dec 23, 2014 at 12:10:00PM +0100, Andrzej Hajda wrote: [...] > > /** > > + * of_graph_get_port_by_id() - get the port matching a given id > > + * @parent: pointer to the parent device node > > Here you have 'parent' and 'node' in the code. [...] > Maybe I miss something but i

Re: [PATCH v6 3/3] of: Add of_graph_get_port_by_id function

2014-12-23 Thread Andrzej Hajda
Hi Philipp, On 12/22/2014 04:11 PM, Philipp Zabel wrote: > This patch adds a function to get a port device tree node by port id, > or reg property value. > > Signed-off-by: Philipp Zabel > Acked-by: Laurent Pinchart > --- > drivers/of/base.c| 26 ++ > include/li

[PATCH v6 3/3] of: Add of_graph_get_port_by_id function

2014-12-22 Thread Philipp Zabel
This patch adds a function to get a port device tree node by port id, or reg property value. Signed-off-by: Philipp Zabel Acked-by: Laurent Pinchart --- drivers/of/base.c| 26 ++ include/linux/of_graph.h | 7 +++ 2 files changed, 33 insertions(+) diff --git