summaryrefslogtreecommitdiff
path: root/Documentation/power/regulator
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@stericsson.com>2009-08-21 16:00:57 +0400
committerLiam Girdwood <lrg@slimlogic.co.uk>2009-09-22 16:32:43 +0400
commit040932cdcfca9b0ac55a4f74f194c2e2c8a2527b (patch)
tree309ccea8b9dd39e34454a9bf9f820dd93efaeb56 /Documentation/power/regulator
parent2de798506d7300830a102e18d3d299f740475bc8 (diff)
downloadlinux-040932cdcfca9b0ac55a4f74f194c2e2c8a2527b.tar.xz
Fix some regulator documentation
This fixes a spelling error and an API function signature mismatch in the regulator documentation. Signed-off-by: Linus Walleij <linus.walleij@stericsson.com> Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'Documentation/power/regulator')
-rw-r--r--Documentation/power/regulator/overview.txt2
-rw-r--r--Documentation/power/regulator/regulator.txt5
2 files changed, 4 insertions, 3 deletions
diff --git a/Documentation/power/regulator/overview.txt b/Documentation/power/regulator/overview.txt
index 0cded696ca01..50b8fa85604a 100644
--- a/Documentation/power/regulator/overview.txt
+++ b/Documentation/power/regulator/overview.txt
@@ -29,7 +29,7 @@ Some terms used in this document:-
o PMIC - Power Management IC. An IC that contains numerous regulators
- and often contains other susbsystems.
+ and often contains other subsystems.
o Consumer - Electronic device that is supplied power by a regulator.
diff --git a/Documentation/power/regulator/regulator.txt b/Documentation/power/regulator/regulator.txt
index 4200accb9bba..3f8b528f237e 100644
--- a/Documentation/power/regulator/regulator.txt
+++ b/Documentation/power/regulator/regulator.txt
@@ -10,8 +10,9 @@ Registration
Drivers can register a regulator by calling :-
-struct regulator_dev *regulator_register(struct device *dev,
- struct regulator_desc *regulator_desc);
+struct regulator_dev *regulator_register(struct regulator_desc *regulator_desc,
+ struct device *dev, struct regulator_init_data *init_data,
+ void *driver_data);
This will register the regulators capabilities and operations to the regulator
core.