Commit 040932cd authored by Linus Walleij's avatar Linus Walleij Committed by Liam Girdwood

Fix some regulator documentation

This fixes a spelling error and an API function signature mismatch
in the regulator documentation.
Signed-off-by: default avatarLinus Walleij <linus.walleij@stericsson.com>
Acked-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: default avatarLiam Girdwood <lrg@slimlogic.co.uk>
parent 2de79850
...@@ -29,7 +29,7 @@ Some terms used in this document:- ...@@ -29,7 +29,7 @@ Some terms used in this document:-
o PMIC - Power Management IC. An IC that contains numerous regulators o PMIC - Power Management IC. An IC that contains numerous regulators
and often contains other susbsystems. and often contains other subsystems.
o Consumer - Electronic device that is supplied power by a regulator. o Consumer - Electronic device that is supplied power by a regulator.
......
...@@ -10,8 +10,9 @@ Registration ...@@ -10,8 +10,9 @@ Registration
Drivers can register a regulator by calling :- Drivers can register a regulator by calling :-
struct regulator_dev *regulator_register(struct device *dev, struct regulator_dev *regulator_register(struct regulator_desc *regulator_desc,
struct regulator_desc *regulator_desc); struct device *dev, struct regulator_init_data *init_data,
void *driver_data);
This will register the regulators capabilities and operations to the regulator This will register the regulators capabilities and operations to the regulator
core. core.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment