regulator: fix kernel-doc for regulator_suspend()
authorRandy Dunlap <rdunlap@infradead.org>
Tue, 4 Sep 2018 15:30:05 +0000 (08:30 -0700)
committerMark Brown <broonie@kernel.org>
Tue, 4 Sep 2018 15:57:23 +0000 (16:57 +0100)
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>
drivers/regulator/core.c

index a147871af09b0e3550642ef0d5acf4105c01ff09..45fee12b98789ea37d9744bd5bf7dd3d86c017bc 100644 (file)
@@ -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.
  */