]> git.baikalelectronics.ru Git - kernel.git/commitdiff
regulator: of_regulator: Add missing colon for rdev kerneldoc argument
authorLee Jones <lee.jones@linaro.org>
Wed, 8 Jul 2020 12:48:31 +0000 (13:48 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 8 Jul 2020 16:37:53 +0000 (17:37 +0100)
Kerneldoc validation gets confused if syntax isn't "@.*: ".

Adding the missing colons squashes the following W=1 warnings:

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Cc: Rajendra Nayak <rnayak@ti.com>
Link: https://lore.kernel.org/r/20200708124832.3441649-3-lee.jones@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/of_regulator.c

index 87637eb6bcbcb9ce2e50278f21bb5dfae315d004..06c0b15fe4c08782e0d2c14745ac72e7849ce4f8 100644 (file)
@@ -532,7 +532,7 @@ static bool of_coupling_find_node(struct device_node *src,
 /**
  * of_check_coupling_data - Parse rdev's coupling properties and check data
  *                         consistency
- * @rdev - pointer to regulator_dev whose data is checked
+ * @rdev: pointer to regulator_dev whose data is checked
  *
  * Function checks if all the following conditions are met:
  * - rdev's max_spread is greater than 0