summaryrefslogtreecommitdiff
path: root/drivers/regulator
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@infradead.org>2018-09-04 18:30:05 +0300
committerMark Brown <broonie@kernel.org>2018-09-04 18:57:23 +0300
commit1efef7cc72716a168f37c0cc19889a4bf9ee8603 (patch)
tree1e38ae40bae34a4a104756b91d9acac1eb077462 /drivers/regulator
parentcd7e36ab7222af85597517bafd66013cbc8f9877 (diff)
downloadlinux-1efef7cc72716a168f37c0cc19889a4bf9ee8603.tar.xz
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>
Diffstat (limited to 'drivers/regulator')
-rw-r--r--drivers/regulator/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/core.c b/drivers/regulator/core.c
index a147871af09b..45fee12b9878 100644
--- a/drivers/regulator/core.c
+++ b/drivers/regulator/core.c
@@ -4466,7 +4466,7 @@ EXPORT_SYMBOL_GPL(regulator_unregister);
#ifdef CONFIG_SUSPEND
/**
* regulator_suspend - prepare regulators for system wide suspend
- * @state: system suspend state
+ * @dev: ``&struct device`` pointer that is passed to _regulator_suspend()
*
* Configure each regulator with it's suspend operating parameters for state.
*/