summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRajendra Nayak <rnayak@ti.com>2011-12-05 12:47:42 +0530
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-12-05 16:23:51 +0000
commit068df0f34e81bc06c5eb5012ec2eda25624e87aa (patch)
tree90532fcce36743641893b12d9efd05143d79a378
parent7728c14a785f934ffccc4f45ecd9646fc07ea679 (diff)
downloadlinux-3.10-068df0f34e81bc06c5eb5012ec2eda25624e87aa.tar.gz
linux-3.10-068df0f34e81bc06c5eb5012ec2eda25624e87aa.tar.bz2
linux-3.10-068df0f34e81bc06c5eb5012ec2eda25624e87aa.zip
regulator: Fix regulator_register() API signature in Documentation
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>
-rw-r--r--Documentation/power/regulator/regulator.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/power/regulator/regulator.txt b/Documentation/power/regulator/regulator.txt
index 3f8b528f237..e272d9909e3 100644
--- a/Documentation/power/regulator/regulator.txt
+++ b/Documentation/power/regulator/regulator.txt
@@ -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.