Commit d3b555e5 authored by ChiYuan Huang's avatar ChiYuan Huang Committed by Mark Brown

regulator: helper: Document ramp_delay parameter of regulator_set_ramp_delay_regmap()

With W=1:

    drivers/regulator/helpers.c:947: warning: Function parameter or member 'ramp_delay' not described in 'regulator_set_ramp_delay_regmap'

Fix it by documenting the parameter.

Fixes: fb8fee9e ("regulator: Add regmap helper for ramp-delay setting")
Signed-off-by: default avatarChiYuan Huang <cy_huang@richtek.com>
Link: https://lore.kernel.org/r/1686881298-28333-1-git-send-email-cy_huang@richtek.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent d2b2613d
...@@ -952,6 +952,7 @@ EXPORT_SYMBOL_GPL(regulator_find_closest_bigger); ...@@ -952,6 +952,7 @@ EXPORT_SYMBOL_GPL(regulator_find_closest_bigger);
* regulator_set_ramp_delay_regmap - set_ramp_delay() helper * regulator_set_ramp_delay_regmap - set_ramp_delay() helper
* *
* @rdev: regulator to operate on * @rdev: regulator to operate on
* @ramp_delay: ramp-rate value given in units V/S (uV/uS)
* *
* Regulators that use regmap for their register I/O can set the ramp_reg * Regulators that use regmap for their register I/O can set the ramp_reg
* and ramp_mask fields in their descriptor and then use this as their * and ramp_mask fields in their descriptor and then use this as their
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment