diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-01-24 11:17:26 +0000 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-01-24 10:40:06 -0800 |
commit | 4a7cbb56fdbd92a47f57ca8b25bf5db35f0d6518 (patch) | |
tree | 33cab8e513a0580e21c56f2951fb4f5ff8eb52f2 /drivers/regulator | |
parent | 3496d9d6e6943db45f54aa212fbe4be0e57de307 (diff) | |
download | linux-4a7cbb56fdbd92a47f57ca8b25bf5db35f0d6518.tar.bz2 |
regulator: Fix documentation for of_node parameter of regulator_register()
Commit 5bc75a886353 ("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>
Diffstat (limited to 'drivers/regulator')
-rw-r--r-- | drivers/regulator/core.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/regulator/core.c b/drivers/regulator/core.c index b1fa25d6583a..e9a83f84adaf 100644 --- a/drivers/regulator/core.c +++ b/drivers/regulator/core.c @@ -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. |