OSDN Git Service

regulator: of: Fix kernel-doc
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>
Mon, 19 Sep 2022 02:48:29 +0000 (10:48 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 19 Sep 2022 14:44:16 +0000 (15:44 +0100)
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>
drivers/regulator/of_regulator.c

index e12b681..0aff1c2 100644 (file)
@@ -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