regulator: pass additional of_node to regulator_register()
authorRajendra Nayak <rnayak@ti.com>
Fri, 18 Nov 2011 11:17:19 +0000 (16:47 +0530)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 23 Nov 2011 18:47:04 +0000 (18:47 +0000)
With device tree support for regulators, its needed that the
regulator_dev->dev device has the right of_node attached.
To be able to do this add an additional parameter to the
regulator_register() api, wherein the dt-adapted driver can
then pass this additional info onto the regulator core.

Signed-off-by: Rajendra Nayak <rnayak@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>

No differences found