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

From: [email-masked] (Mark Brown)
Date: Fri, 16 Sep 2011 10:02:38 +0100

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.