Skip to contentSkip to conversation

regulator: Fix documentation for of_node parameter of regulator_register()

PATCH New Mark Brown 1 participant 1 message Jan 24, 2012 Voltage and current regulator framework

lore
Share & tools
lore

Mark Brown

author
#0 lore raw

PATCH 1/1 regulator: Fix documentation for of_node parameter of regulator_register()

Commit 5bc75a (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.

---
 drivers/regulator/core.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
drivers/regulator/core.c +2 -1
index dab8516..aa51866 100644
@@ -2839,7 +2839,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.
Signature · 1 line
1.7.7.3