lkml.org 
[lkml]   [2013]   [Nov]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v5 1/2] regulator: max14577: Add regulator driver for Maxim 14577
On Wed, Nov 27, 2013 at 03:23:58PM +0000, Lee Jones wrote:
> On Wed, 27 Nov 2013, Mark Brown wrote:
> > > + {
> > > + .name = "max14577-regulator",
> > > + .of_compatible = "maxim,max14577-regulator",
> > > + },

> > Why is there a compatible for this at all, would this ever appear as
> > part of a different device?

> For automatic assigning of it's of_node.

> In previous incarnations of this set it was done manually for some reason.

The usual thing to do is of_get_child_by_name() on the parent to get the
container to search in.
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2013-11-27 17:01    [W:0.048 / U:0.684 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site