aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/regulator/pwm-regulator.c
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2020-06-26 07:57:32 +0100
committerMark Brown <broonie@kernel.org>2020-06-26 15:34:19 +0100
commit4e773e7392fb561eb4ae10deb526aa1ac8c13f61 (patch)
treecba13fdf2e38153d4b9ccfae185794677de31ed8 /drivers/regulator/pwm-regulator.c
parentregulator: qcom-rpmh-regulator: Repair dodgy kerneldoc header formatting (diff)
downloadlinux-dev-4e773e7392fb561eb4ae10deb526aa1ac8c13f61.tar.xz
linux-dev-4e773e7392fb561eb4ae10deb526aa1ac8c13f61.zip
regulator: pwm-regulator: Demote kerneldoc header to standard comment
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>
Diffstat (limited to 'drivers/regulator/pwm-regulator.c')
-rw-r--r--drivers/regulator/pwm-regulator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/pwm-regulator.c b/drivers/regulator/pwm-regulator.c
index 638329bd0745..3234b118b53e 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)