[RFC PATCH v2 03/12] of: Make of_find_node_by_path() traverse /aliases for relative paths.

2011-03-04 Thread David Daney
Currently all paths passed to of_find_node_by_path() must begin with a '/', indicating a full path to the desired node. Augment the look-up code so that if a path does *not* begin with '/', the path is used as the name of an /aliases property. The value of this alias is then used as the full node

Re: [RFC PATCH v2 03/12] of: Make of_find_node_by_path() traverse /aliases for relative paths.

2011-03-04 Thread Grant Likely
On Fri, Mar 04, 2011 at 11:42:15AM -0800, David Daney wrote: > Currently all paths passed to of_find_node_by_path() must begin with a > '/', indicating a full path to the desired node. > > Augment the look-up code so that if a path does *not* begin with '/', > the path is used as the name of an /a