From: Rajendra Nayak Date: Mon, 5 Dec 2011 07:17:42 +0000 (+0530) Subject: regulator: Fix regulator_register() API signature in Documentation X-Git-Tag: upstream/snapshot3+hdmi~8394^2~18^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=068df0f34e81bc06c5eb5012ec2eda25624e87aa;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git regulator: Fix regulator_register() API signature in Documentation 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 Signed-off-by: Rajendra Nayak Signed-off-by: Mark Brown --- diff --git a/Documentation/power/regulator/regulator.txt b/Documentation/power/regulator/regulator.txt index 3f8b528..e272d99 100644 --- a/Documentation/power/regulator/regulator.txt +++ b/Documentation/power/regulator/regulator.txt @@ -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.