All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3] regulator: fix kernel-doc for regulator_suspend()
@ 2018-09-04 15:30 Randy Dunlap
  0 siblings, 0 replies; only message in thread
From: Randy Dunlap @ 2018-09-04 15:30 UTC (permalink / raw)
  To: LKML, Liam Girdwood, Mark Brown

From: Randy Dunlap <rdunlap@infradead.org>

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>
---
v2: add missing Cc:s and update patch description.
v3: respin, v2 did not apply cleanly.

 drivers/regulator/core.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-next-20180904.orig/drivers/regulator/core.c
+++ linux-next-20180904/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.
  */



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-09-04 15:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-04 15:30 [PATCH v3] regulator: fix kernel-doc for regulator_suspend() Randy Dunlap

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.