Skip to content

Commit

Permalink
regulator: Fix regulator_register() API signature in Documentation
Browse files Browse the repository at this point in the history
The commit 2c043bc ("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 <thomas.abraham@linaro.org>
Signed-off-by: Rajendra Nayak <rnayak@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
  • Loading branch information
Rajendra Nayak authored and Mark Brown committed Dec 5, 2011
1 parent 7728c14 commit 068df0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Documentation/power/regulator/regulator.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 068df0f

Please sign in to comment.