[lkml]   [2012]   [Feb]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH v6 2/2] of: Make of_find_node_by_path() traverse /aliases for relative paths.
    From: David Daney <>
    Date: Wed, 29 Feb 2012 11:21:04 -0800

    > 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 path to be found.
    > Signed-off-by: David Daney <>

    But as the caller you sure as hell know whether you have a "/"
    prefixed name or not.

    Why complicate an incredibly well designed and simple function for
    something you can create another interface for?

     \ /
      Last update: 2012-02-29 21:41    [W:0.020 / U:16.060 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site