Fix some regulator documentation
authorLinus Walleij <linus.walleij@stericsson.com>
Fri, 21 Aug 2009 12:00:57 +0000 (14:00 +0200)
committerLiam Girdwood <lrg@slimlogic.co.uk>
Tue, 22 Sep 2009 12:32:43 +0000 (13:32 +0100)
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>
Documentation/power/regulator/overview.txt
Documentation/power/regulator/regulator.txt

index 0cded696ca01cdc0ebb9a97deec4f80ede656809..50b8fa85604adda7e9a1d00a4b675ff328c7f8d6 100644 (file)
@@ -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.
index 4200accb9bba981b0c582c6089a6a07fcc215fae..3f8b528f237e17626142dfba88f955dfee7a11b3 100644 (file)
@@ -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.