]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commit9fc3815e26efd044c1a1d0770b4335cd00c833c0
tree5b3c84c4488036270a3c16aa0b58697de8ef8dcd
parent68d8c1cd5158e1452c454dadbc64b3955e88e98b
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