]> git.baikalelectronics.ru Git - kernel.git/commitdiff
regulator: pwm-regulator: Demote kerneldoc header to standard comment
authorLee Jones <lee.jones@linaro.org>
Fri, 26 Jun 2020 06:57:32 +0000 (07:57 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 26 Jun 2020 14:34:19 +0000 (15:34 +0100)
This particular comment doesn't have anything to do with documenting
functions or data structures.  Instead it is used as a section header.

Fixes W=1 warning:

 drivers/regulator/pwm-regulator.c:55: warning: Function parameter or member 'rdev' not described in 'pwm_regulator_init_state'

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/20200626065738.93412-4-lee.jones@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/pwm-regulator.c

index 638329bd0745e99b782309a1a01101c85cf8b9ca..3234b118b53ea275f94aa2831c88e2835a7b6a82 100644 (file)
@@ -48,7 +48,7 @@ struct pwm_voltages {
        unsigned int dutycycle;
 };
 
-/**
+/*
  * Voltage table call-backs
  */
 static void pwm_regulator_init_state(struct regulator_dev *rdev)