Skip to content

Commit d3b555e

Browse files
ChiYuan Huangbroonie
authored andcommitted
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: fb8fee9 ("regulator: Add regmap helper for ramp-delay setting") Signed-off-by: ChiYuan Huang <cy_huang@richtek.com> Link: https://lore.kernel.org/r/1686881298-28333-1-git-send-email-cy_huang@richtek.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent d2b2613 commit d3b555e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/regulator/helpers.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -952,6 +952,7 @@ EXPORT_SYMBOL_GPL(regulator_find_closest_bigger);
952952
* regulator_set_ramp_delay_regmap - set_ramp_delay() helper
953953
*
954954
* @rdev: regulator to operate on
955+
* @ramp_delay: ramp-rate value given in units V/S (uV/uS)
955956
*
956957
* Regulators that use regmap for their register I/O can set the ramp_reg
957958
* and ramp_mask fields in their descriptor and then use this as their

0 commit comments

Comments
 (0)