Documentation: Fix regulator_register() API signature
Subsystems (2)
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.
Reported-by Thomas Abraham <[email protected]>
Signed-off-by Rajendra Nayak <[email protected]>
--- Documentation/power/regulator/regulator.txt | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
Documentation/power/regulator/regulator.txt +1 -1
@@ -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
Mark Brown
AppliedQuoted 5 lines · Rajendra Nayak
The commit
2c043bcbf287("regulator: pass additionalof_nodetoregulator_register()") added an additional parameter to theregulator_register()API.
Update the Documentation accordingly to reflect the change in the function signature.
Applied, thanks.