Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <thomas.abraham@linaro.org>
Signed-off-by: Rajendra Nayak <rnayak@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>

authored by

Rajendra Nayak and committed by
Mark Brown
068df0f3 7728c14a

+1 -1
+1 -1
Documentation/power/regulator/regulator.txt
··· 12 12 13 13 struct regulator_dev *regulator_register(struct regulator_desc *regulator_desc, 14 14 struct device *dev, struct regulator_init_data *init_data, 15 - void *driver_data); 15 + void *driver_data, struct device_node *of_node); 16 16 17 17 This will register the regulators capabilities and operations to the regulator 18 18 core.