Skip to contentSkip to conversation

regulator: Update regulator_register() API signature in Documentation

PATCH Applied Axel Lin 2 participants 2 messages Apr 13, 2012

Subsystems (2)
lore
Share & tools
lore

Axel Lin

author
#0 lore raw

PATCH 1/1 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.

---
 Documentation/power/regulator/regulator.txt |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
Documentation/power/regulator/regulator.txt +1 -2
index e272d99..1390277 100644
@@ -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.
Signature · 1 line
1.7.5.4
Applied
#1 lore raw
Quoted 2 lines · Axel Lin

commit c172708 "regulator: core: Use a struct to pass in regulator runtime configuration" changed the regulator_register() API signature.

Applied, thanks.