Skip to content

Commit

Permalink
regulator: Fix documentation for of_node parameter of regulator_regis…
Browse files Browse the repository at this point in the history
…ter()

Commit 5bc75a8 ("kernel-doc: fix new warning in regulator core")
added documentation for of_node to address a warning but the
documentation didn't explain what the parameter is for so would be
likely to be unhelpful for users.  Clarify that.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Mark Brown authored and Linus Torvalds committed Jan 24, 2012
1 parent 3496d9d commit 4a7cbb5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/regulator/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -2731,7 +2731,8 @@ static void rdev_init_debugfs(struct regulator_dev *rdev)
* @dev: struct device for the regulator
* @init_data: platform provided init data, passed through by driver
* @driver_data: private regulator data
* @of_node: target open firmware device structure (may be NULL)
* @of_node: OpenFirmware node to parse for device tree bindings (may be
* NULL).
*
* Called by regulator drivers to register a regulator.
* Returns 0 on success.
Expand Down

0 comments on commit 4a7cbb5

Please sign in to comment.