regulator: tps65910: use of_node of matched regulator being register
authorLaxman Dewangan <ldewangan@nvidia.com>
Sun, 20 May 2012 16:18:50 +0000 (21:48 +0530)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 20 May 2012 17:22:41 +0000 (18:22 +0100)
commit84df8c1241beb87fec73415ef4f6e627aca34835
treefd863e664653e8a3aad7026f7564659bc584f4c8
parent92ab953bd6477b816e8ddd2cf9eaed063332013a
regulator: tps65910: use of_node of matched regulator being register

After getting matched regulators by using of_regulator_match(),
initialize the config.of_node of regulator being register with
of_regulator_match.of_node of that regulator.
This is require for supporting regulator consumers in dt.

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