lkml.org 
[lkml]   [2012]   [Jun]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 08/22] regulator: Change ab8500 match names to reflect Device Tree
    On Fri, Jun 01, 2012 at 12:36:28PM +0800, Lee Jones wrote:

    > This:

    > >sdi@80126000 {
    > > vmmc-supply = <&ab8500_ldo_aux3_reg>;
    > >};

    > Is the same as, and will cause no more issues than:

    > >static struct regulator_consumer_supply ab8500_vaux3_consumers[] = {
    > > REGULATOR_SUPPLY("vmmc", "sdi0"),
    > >};

    > ... because only nodes which we care about (dictated by compatible
    > declaration protections) will be parsed. So different platforms will
    > not affect each other.

    What makes you say the two are equivalent? The former is a reference
    from a consumer device to a named regulator while the latter is a
    reference from a regulator to a named consumer.
    [unhandled content-type:application/pgp-signature]
    \
     
     \ /
      Last update: 2012-06-01 11:41    [W:0.029 / U:30.168 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site