aboutsummaryrefslogtreecommitdiff
path: root/Documentation/power
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2012-04-13 15:32:05 +0800
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-04-13 09:54:45 +0100
commit127ef6274a682d8ce88fd9e6614c0b30c7f8ef34 (patch)
tree1790548e4dfca9e09e503ece416602bcf083c41a /Documentation/power
parent32c8fad438200b523ec44a49b40cb8ffdf715f7c (diff)
regulator: Update regulator_register() API signature in Documentation
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>
Diffstat (limited to 'Documentation/power')
-rw-r--r--Documentation/power/regulator/regulator.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/Documentation/power/regulator/regulator.txt b/Documentation/power/regulator/regulator.txt
index e272d9909e39..13902778ae44 100644
--- a/Documentation/power/regulator/regulator.txt
+++ b/Documentation/power/regulator/regulator.txt
@@ -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.