Re: [PATCH v2 1/2] of: add optional options parameter to of_find_node_by_path()

2014-11-26 Thread Leif Lindholm
On Wed, Nov 26, 2014 at 09:06:33PM +, Grant Likely wrote: > On Wed, Nov 26, 2014 at 5:40 PM, Leif Lindholm > wrote: > > Update of_find_node_by_path(): > > 1) Ignore any part of the path beyond and including the ':' separator. > > 2) Set the new provided pointer argument to the beginning of th

Re: [PATCH v2 1/2] of: add optional options parameter to of_find_node_by_path()

2014-11-26 Thread Grant Likely
On Wed, Nov 26, 2014 at 5:40 PM, Leif Lindholm wrote: > Update of_find_node_by_path(): > 1) Ignore any part of the path beyond and including the ':' separator. > 2) Set the new provided pointer argument to the beginning of the string >following the ':' separator. > > Coccinelle fixup using: >

[PATCH v2 1/2] of: add optional options parameter to of_find_node_by_path()

2014-11-26 Thread Leif Lindholm
Update of_find_node_by_path(): 1) Ignore any part of the path beyond and including the ':' separator. 2) Set the new provided pointer argument to the beginning of the string following the ':' separator. Coccinelle fixup using: @@ expression E1; @@ - of_find_node_by_path(E1) + of_find_node_by_