Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Mark Brown and committed by
Linus Torvalds
4a7cbb56 3496d9d6

+2 -1
+2 -1
drivers/regulator/core.c
··· 2731 2731 * @dev: struct device for the regulator 2732 2732 * @init_data: platform provided init data, passed through by driver 2733 2733 * @driver_data: private regulator data 2734 - * @of_node: target open firmware device structure (may be NULL) 2734 + * @of_node: OpenFirmware node to parse for device tree bindings (may be 2735 + * NULL). 2735 2736 * 2736 2737 * Called by regulator drivers to register a regulator. 2737 2738 * Returns 0 on success.