projects
/
linux
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d2b2613
)
regulator: helper: Document ramp_delay parameter of regulator_set_ramp_delay_regmap()
author
ChiYuan Huang
<cy_huang@richtek.com>
Fri, 16 Jun 2023 02:08:18 +0000
(10:08 +0800)
committer
Mark Brown
<broonie@kernel.org>
Fri, 16 Jun 2023 11:56:16 +0000
(12:56 +0100)
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:
fb8fee9efdcf
("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>
drivers/regulator/helpers.c
patch
|
blob
|
history
diff --git
a/drivers/regulator/helpers.c
b/drivers/regulator/helpers.c
index 586f42e378ee31f0ef5de9adff2853110958b5bc..e6c999ba3fa23ff36c02c9d67556f0b2ab69fcc0 100644
(file)
--- a/
drivers/regulator/helpers.c
+++ b/
drivers/regulator/helpers.c
@@
-952,6
+952,7
@@
EXPORT_SYMBOL_GPL(regulator_find_closest_bigger);
* regulator_set_ramp_delay_regmap - set_ramp_delay() helper
*
* @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
* and ramp_mask fields in their descriptor and then use this as their