From: Randy Dunlap Date: Tue, 4 Sep 2018 15:30:05 +0000 (-0700) Subject: regulator: fix kernel-doc for regulator_suspend() X-Git-Tag: v4.20-rc1~184^2~1^2~15 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=1efef7cc72716a168f37c0cc19889a4bf9ee8603;p=linux.git 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 Cc: Liam Girdwood Cc: Mark Brown Signed-off-by: Mark Brown --- 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. */