aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/regulator
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@infradead.org>2018-09-04 08:30:05 -0700
committerMark Brown <broonie@kernel.org>2018-09-04 16:57:23 +0100
commit1efef7cc72716a168f37c0cc19889a4bf9ee8603 (patch)
tree1e38ae40bae34a4a104756b91d9acac1eb077462 /drivers/regulator
parentregulator: Fix useless O^2 complexity in suspend/resume (diff)
downloadlinux-dev-1efef7cc72716a168f37c0cc19889a4bf9ee8603.tar.xz
linux-dev-1efef7cc72716a168f37c0cc19889a4bf9ee8603.zip
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.
*/