regulator: Allow regulator-regulator supplies to be specified by name
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 26 Apr 2010 14:18:14 +0000 (15:18 +0100)
committerLiam Girdwood <lrg@slimlogic.co.uk>
Tue, 25 May 2010 09:16:01 +0000 (10:16 +0100)
commit0178f3e28e2166664916265c5d4922b1376b9fa1
tree00dbd793ed75ad98e8d32a5798ab243c0f5b4185
parent7e125f7b9cbfce4101191b8076d606c517a73066
regulator: Allow regulator-regulator supplies to be specified by name

When one regulator supplies another allow the relationship to be specified
using names rather than struct regulators, in a similar manner to that
allowed for consumer supplies. This allows static configuration at compile
time, reducing the need for dynamic init code.

Also change the references to LINE supply to be system supply since line
is sometimes used for actual supplies and therefore potentially confusing.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
drivers/regulator/core.c
include/linux/regulator/machine.h