diff mbox series

[3/9] regulator: pwm-regulator: Demote kerneldoc header to standard comment

Message ID 20200626065738.93412-4-lee.jones@linaro.org (mailing list archive)
State Mainlined
Commit 4e773e7392fb561eb4ae10deb526aa1ac8c13f61
Headers show
Series Fix a bunch more W=1 warnings in Regulator | expand

Commit Message

Lee Jones June 26, 2020, 6:57 a.m. UTC
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>
---
 drivers/regulator/pwm-regulator.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/drivers/regulator/pwm-regulator.c b/drivers/regulator/pwm-regulator.c
index 638329bd0745e..3234b118b53ea 100644
--- a/drivers/regulator/pwm-regulator.c
+++ b/drivers/regulator/pwm-regulator.c
@@ -48,7 +48,7 @@  struct pwm_voltages {
 	unsigned int dutycycle;
 };
 
-/**
+/*
  * Voltage table call-backs
  */
 static void pwm_regulator_init_state(struct regulator_dev *rdev)