[RFC PATCH 10/11] regulator: Implement consumer regulator mapping from device tree

Mark Brown broonie at opensource.wolfsonmicro.com
Fri Sep 16 19:02:38 EST 2011


On Fri, Sep 16, 2011 at 12:51:06PM +0530, Rajendra Nayak wrote:
> On Thursday 15 September 2011 07:29 PM, Mark Brown wrote:

> >This seems wrong, why are we adding things to the regulator_map which is
> >really only there for lookups when we already did the lookup using the
> >device tree?

> I did this only so the mappings show up in sysfs.

Reworking to bind sysfs at regulator_get() time seems a better approach
to this.


More information about the devicetree-discuss mailing list