]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
regulator: Fix regulator_register() API signature in Documentation
authorRajendra Nayak <rnayak@ti.com>
Mon, 5 Dec 2011 07:17:42 +0000 (12:47 +0530)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 5 Dec 2011 16:23:51 +0000 (16:23 +0000)
The commit 2c043bcbf287 ("regulator: pass additional of_node to
regulator_register()") added an additional parameter to the
regulator_register() API.
Update the Documentation accordingly to reflect the change
in the function signature.

Reported-by: Thomas Abraham <thomas.abraham@linaro.org>
Signed-off-by: Rajendra Nayak <rnayak@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Documentation/power/regulator/regulator.txt

index 3f8b528f237e17626142dfba88f955dfee7a11b3..e272d9909e393dd4091575555a82173e90694fdc 100644 (file)
@@ -12,7 +12,7 @@ Drivers can register a regulator by calling :-
 
 struct regulator_dev *regulator_register(struct regulator_desc *regulator_desc,
        struct device *dev, struct regulator_init_data *init_data,
-       void *driver_data);
+       void *driver_data, struct device_node *of_node);
 
 This will register the regulators capabilities and operations to the regulator
 core.