]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd26abe8dc9b00ba6bcfc98577563da87f919e4ac
treefd863e664653e8a3aad7026f7564659bc584f4c8
parent679bbb834c420e327ad3423c2a9955a6c7e66b76
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