summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2012-04-13 11:32:05 +0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-04-13 12:54:45 +0400
commit127ef6274a682d8ce88fd9e6614c0b30c7f8ef34 (patch)
tree1790548e4dfca9e09e503ece416602bcf083c41a
parent32c8fad438200b523ec44a49b40cb8ffdf715f7c (diff)
downloadlinux-127ef6274a682d8ce88fd9e6614c0b30c7f8ef34.tar.xz
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>
-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.