lkml.org 
[lkml]   [2012]   [May]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 2/5] regulator: tps65910: set of_node for regulator register config
    On Sat, May 19, 2012 at 08:04:07PM +0530, Laxman Dewangan wrote:

    > set of_node parameter for regulator registration configuration
    > parameter. This node contains the regulator related device node
    > information for regulator which need to be register.

    This isn't adding setting of the of_node...

    > -#ifdef CONFIG_OF
    > - config.of_node = of_find_node_by_name(tps65910->dev->of_node,
    > + if (reg_node)
    > + config.of_node = of_find_node_by_name(reg_node,
    > info->name);
    > -#endif

    ...it's changing the value that's being configured. The changelog
    doesn't explain why this is being done.

    Also, why is the ifdef being removed - won't that break the build?
    [unhandled content-type:application/pgp-signature]
    \
     
     \ /
      Last update: 2012-05-19 20:21    [W:0.026 / U:62.236 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site