]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: tps62360: dt: initialize of_node param for regulator register.
authorLaxman Dewangan <ldewangan@nvidia.com>
Sun, 20 May 2012 16:18:47 +0000 (21:48 +0530)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 20 May 2012 17:22:41 +0000 (18:22 +0100)
commit712c0ed3ebce127ba1563c78287d95ca38f6b33d
tree5b3c84c4488036270a3c16aa0b58697de8ef8dcd
parentaba4a3c01ba23871b8ed5050f92935ee8ad19cc9
regulator: tps62360: dt: initialize of_node param for regulator register.

Initialize config.of_node for regulator before registering.
This is needed for DT based regulator support.
Regulator stores this of_node value in rdev->dev.of_node
and used for lookup when client ask for regulator_get().

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