Skip to content

Commit

Permalink
Fix some regulator documentation
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Linus Walleij authored and Liam Girdwood committed Sep 22, 2009
1 parent 2de7985 commit 040932c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Documentation/power/regulator/overview.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Some terms used in this document:-


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.
Expand Down
5 changes: 3 additions & 2 deletions Documentation/power/regulator/regulator.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@ Registration

Drivers can register a regulator by calling :-

struct regulator_dev *regulator_register(struct device *dev,
struct regulator_desc *regulator_desc);
struct regulator_dev *regulator_register(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
core.
Expand Down

0 comments on commit 040932c

Please sign in to comment.