Re: [PATCH 3.6.0-rc5] dt: introduce of_get_child to get child node by name.

2012-09-14 Thread Srinivas KANDAGATLA
On 13/09/12 21:32, Rob Herring wrote: On 09/13/2012 06:10 AM, Srinivas KANDAGATLA wrote: From: Srinivas Kandagatla srinivas.kandaga...@st.com This patch introduces of_get_child function to get a child node by its name in a given parent node. Without this patch each driver code has to

[PATCH 3.6.0-rc5] dt: introduce of_get_child to get child node by name.

2012-09-13 Thread Srinivas KANDAGATLA
From: Srinivas Kandagatla srinivas.kandaga...@st.com This patch introduces of_get_child function to get a child node by its name in a given parent node. Without this patch each driver code has to iterate the parent and do a string compare, However having of_get_child libary function would avoid

Re: [PATCH 3.6.0-rc5] dt: introduce of_get_child to get child node by name.

2012-09-13 Thread Stephen Warren
On 09/13/2012 05:10 AM, Srinivas KANDAGATLA wrote: From: Srinivas Kandagatla srinivas.kandaga...@st.com This patch introduces of_get_child function to get a child node by its name in a given parent node. Without this patch each driver code has to iterate the parent and do a string

Re: [PATCH 3.6.0-rc5] dt: introduce of_get_child to get child node by name.

2012-09-13 Thread Srinivas KANDAGATLA
On 13/09/12 16:14, Stephen Warren wrote: On 09/13/2012 05:10 AM, Srinivas KANDAGATLA wrote: From: Srinivas Kandagatla srinivas.kandaga...@st.com This patch introduces of_get_child function to get a child node by its name in a given parent node. Without this patch each driver code has to

Re: [PATCH 3.6.0-rc5] dt: introduce of_get_child to get child node by name.

2012-09-13 Thread Rob Herring
On 09/13/2012 10:25 AM, Srinivas KANDAGATLA wrote: On 13/09/12 16:14, Stephen Warren wrote: On 09/13/2012 05:10 AM, Srinivas KANDAGATLA wrote: From: Srinivas Kandagatla srinivas.kandaga...@st.com This patch introduces of_get_child function to get a child node by its name in a given parent

Re: [PATCH 3.6.0-rc5] dt: introduce of_get_child to get child node by name.

2012-09-13 Thread Stephen Warren
On 09/13/2012 09:43 AM, Rob Herring wrote: On 09/13/2012 10:25 AM, Srinivas KANDAGATLA wrote: On 13/09/12 16:14, Stephen Warren wrote: On 09/13/2012 05:10 AM, Srinivas KANDAGATLA wrote: From: Srinivas Kandagatla srinivas.kandaga...@st.com This patch introduces of_get_child function to get a

Re: [PATCH 3.6.0-rc5] dt: introduce of_get_child to get child node by name.

2012-09-13 Thread Rob Herring
On 09/13/2012 06:10 AM, Srinivas KANDAGATLA wrote: From: Srinivas Kandagatla srinivas.kandaga...@st.com This patch introduces of_get_child function to get a child node by its name in a given parent node. Without this patch each driver code has to iterate the parent and do a string