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

Fix some regulator documentation

This fixes a spelling error and an API function signature mismatch
in the regulator documentation.

Signed-off-by: Linus Walleij <linus.walleij@stericsson.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>

authored by

Linus Walleij and committed by
Liam Girdwood
040932cd 2de79850

+4 -3
+1 -1
Documentation/power/regulator/overview.txt
··· 29 29 30 30 31 31 o PMIC - Power Management IC. An IC that contains numerous regulators 32 - and often contains other susbsystems. 32 + and often contains other subsystems. 33 33 34 34 35 35 o Consumer - Electronic device that is supplied power by a regulator.
+3 -2
Documentation/power/regulator/regulator.txt
··· 10 10 11 11 Drivers can register a regulator by calling :- 12 12 13 - struct regulator_dev *regulator_register(struct device *dev, 14 - struct regulator_desc *regulator_desc); 13 + struct regulator_dev *regulator_register(struct regulator_desc *regulator_desc, 14 + struct device *dev, struct regulator_init_data *init_data, 15 + void *driver_data); 15 16 16 17 This will register the regulators capabilities and operations to the regulator 17 18 core.