regulator: Update regulator_register() API signature in Documentation
authorAxel Lin <axel.lin@gmail.com>
Fri, 13 Apr 2012 07:32:05 +0000 (15:32 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 13 Apr 2012 08:54:45 +0000 (09:54 +0100)
commit c172708 "regulator: core: Use a struct to pass in regulator runtime
configuration" changed the regulator_register() API signature.

Update the Documentation accordingly to reflect the change in the function
signature.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Documentation/power/regulator/regulator.txt

index e272d99..1390277 100644 (file)
@@ -11,8 +11,7 @@ Registration
 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, struct device_node *of_node);
+                                        const struct regulator_config *config);
 
 This will register the regulators capabilities and operations to the regulator
 core.