Skip to contentSkip to conversation

Documentation: Fix regulator_register() API signature

PATCH Applied Rajendra Nayak 2 participants 2 messages Dec 5, 2011

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Documentation: Fix regulator_register() API signature

The commit 2c043bcbf287 ("regulator: pass additional of_node to regulator_register()") added an additional parameter to the regulator_register() API.
Update the Documentation accordingly to reflect the change in the function signature.

---
 Documentation/power/regulator/regulator.txt |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Documentation/power/regulator/regulator.txt +1 -1
index 3f8b528..e272d99 100644
@@ -12,7 +12,7 @@ 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);
+	void *driver_data, struct device_node *of_node);
 
 This will register the regulators capabilities and operations to the regulator
 core.
Signature · 1 line
1.7.1
Applied
#1 lore raw
Quoted 5 lines · Rajendra Nayak

The commit 2c043bcbf287 ("regulator: pass additional of_node to regulator_register()") added an additional parameter to the regulator_register() API.
Update the Documentation accordingly to reflect the change in the function signature.

Applied, thanks.