Skip to content

Commit 1efef7c

Browse files
rddunlapbroonie
authored andcommitted
regulator: fix kernel-doc for regulator_suspend()
Fix kernel-doc warning: ../drivers/regulator/core.c:4479: warning: Excess function parameter 'state' description in 'regulator_suspend' Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Cc: Liam Girdwood <lgirdwood@gmail.com> Cc: Mark Brown <broonie@kernel.org> Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent cd7e36a commit 1efef7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/regulator/core.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4466,7 +4466,7 @@ EXPORT_SYMBOL_GPL(regulator_unregister);
44664466
#ifdef CONFIG_SUSPEND
44674467
/**
44684468
* regulator_suspend - prepare regulators for system wide suspend
4469-
* @state: system suspend state
4469+
* @dev: ``&struct device`` pointer that is passed to _regulator_suspend()
44704470
*
44714471
* Configure each regulator with it's suspend operating parameters for state.
44724472
*/

0 commit comments

Comments
 (0)