regulator: Add generic DT parsing for regulators
authorThierry Reding <thierry.reding@avionic-design.de>
Thu, 26 Apr 2012 14:52:20 +0000 (16:52 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 4 May 2012 12:25:15 +0000 (13:25 +0100)
Looking up init data for regulators found on chips is a common operation
that can be handled in a generic way. The new helper function introduced
by this patch looks up the children of a given node by names specified
in a match table and fills that match table with information parsed from
the DT.

This is based on work by Rhyland Klein <rklein@nvidia.com>.

Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>

No differences found