All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] regulator: fix kernel-doc function parameter and warning
@ 2018-09-03 16:05 Randy Dunlap
  2018-09-03 16:42 ` Mark Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2018-09-03 16:05 UTC (permalink / raw)
  To: LKML, Liam Girdwood, Mark Brown

From: Randy Dunlap <rdunlap@infradead.org>

Fix kernel-doc warning by using correct parameter description:

../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 Cc:s and update patch description.

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

--- lnx-419-rc2.orig/drivers/regulator/core.c
+++ lnx-419-rc2/drivers/regulator/core.c
@@ -4470,7 +4470,7 @@ static int _regulator_suspend(struct dev
 
 /**
  * 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] 2+ messages in thread

* Re: [PATCH v2] regulator: fix kernel-doc function parameter and warning
  2018-09-03 16:05 [PATCH v2] regulator: fix kernel-doc function parameter and warning Randy Dunlap
@ 2018-09-03 16:42 ` Mark Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2018-09-03 16:42 UTC (permalink / raw)
  To: Randy Dunlap; +Cc: LKML, Liam Girdwood

[-- Attachment #1: Type: text/plain, Size: 248 bytes --]

On Mon, Sep 03, 2018 at 09:05:20AM -0700, Randy Dunlap wrote:
> From: Randy Dunlap <rdunlap@infradead.org>
> 
> Fix kernel-doc warning by using correct parameter description:

This doesn't apply against current code, please check and resend.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-09-03 16:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-03 16:05 [PATCH v2] regulator: fix kernel-doc function parameter and warning Randy Dunlap
2018-09-03 16:42 ` Mark Brown

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.