summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>2022-09-19 10:48:29 +0800
committerMark Brown <broonie@kernel.org>2022-09-19 15:44:16 +0100
commita8c31d3507fbf4e5e6d4a47225294a4d2f09d0b2 (patch)
tree71f65d53cb7b9471079cb69d8a0e4062bd76fdd5
parentca9b8f0486b577ab179664d4a279090645e9244f (diff)
downloadlinux-stable-a8c31d3507fbf4e5e6d4a47225294a4d2f09d0b2.tar.gz
linux-stable-a8c31d3507fbf4e5e6d4a47225294a4d2f09d0b2.tar.bz2
linux-stable-a8c31d3507fbf4e5e6d4a47225294a4d2f09d0b2.zip
regulator: of: Fix kernel-doc
drivers/regulator/of_regulator.c:689: warning: expecting prototype for of_parse_coupled regulator(). Prototype was for of_parse_coupled_regulator() instead. Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2205#c0 Reported-by: Abaci Robot <abaci@linux.alibaba.com> Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com> Link: https://lore.kernel.org/r/20220919024830.111874-1-jiapeng.chong@linux.alibaba.com Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r--drivers/regulator/of_regulator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/of_regulator.c b/drivers/regulator/of_regulator.c
index e12b681c72e5..0aff1c2886b5 100644
--- a/drivers/regulator/of_regulator.c
+++ b/drivers/regulator/of_regulator.c
@@ -676,7 +676,7 @@ clean:
}
/**
- * of_parse_coupled regulator - Get regulator_dev pointer from rdev's property
+ * of_parse_coupled_regulator() - Get regulator_dev pointer from rdev's property
* @rdev: Pointer to regulator_dev, whose DTS is used as a source to parse
* "regulator-coupled-with" property
* @index: Index in phandles array