regulator: tps65910: dt: support when "regulators" node found
authorLaxman Dewangan <ldewangan@nvidia.com>
Sun, 20 May 2012 16:18:49 +0000 (21:48 +0530)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 20 May 2012 17:22:41 +0000 (18:22 +0100)
commit92ab953bd6477b816e8ddd2cf9eaed063332013a
tree78ed8f8966bbd155d4c4bcc903a54f22cf67fdcd
parent7e9a57e6267591ddfdd3beaf26f21b5257c5fff8
regulator: tps65910: dt: support when "regulators" node found

The device tree binding for the tps65910 is described as:
tps65911 {
reg = <0x2d>
:::::::::
regulators {
compatible = "ti,tps65911";
ldo1_reg: ldo1 {
/** regulator entry */
};

ldo2_reg: ldo2 {
/** regulator entry */
};
::::::::::
};
};

Support the regulators functionality only when there is "regulators"
child node available for tps65910.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/tps65910-regulator.c