public inbox for linux-pm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] PM: fix kernel-doc warnings in drivers/base/power/main.c
@ 2014-07-27 23:17 Randy Dunlap
  2014-07-28 10:25 ` Pavel Machek
  0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2014-07-27 23:17 UTC (permalink / raw)
  To: Rafael J. Wysocki, Len Brown, Pavel Machek; +Cc: Linux PM list

From: Randy Dunlap <rdunlap@infradead.org>

Fix kernel-doc warnings in drivers/base/power/main.c:

Warning(..//drivers/base/power/main.c:473): No description found for parameter 'async'
Warning(..//drivers/base/power/main.c:601): No description found for parameter 'async'
Warning(..//drivers/base/power/main.c:1012): No description found for parameter 'async'
Warning(..//drivers/base/power/main.c:1151): No description found for parameter 'async'
Warning(..//drivers/base/power/main.c:1305): No description found for parameter 'info'

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc:	"Rafael J. Wysocki" <rjw@rjwysocki.net>
Cc:	Len Brown <len.brown@intel.com>
Cc:	Pavel Machek <pavel@ucw.cz>
Cc:	linux-pm@vger.kernel.org
---
 drivers/base/power/main.c |    5 +++++
 1 file changed, 5 insertions(+)

Index: lnx-316-rc7/drivers/base/power/main.c
===================================================================
--- lnx-316-rc7.orig/drivers/base/power/main.c
+++ lnx-316-rc7/drivers/base/power/main.c
@@ -465,6 +465,7 @@ static void dpm_watchdog_clear(struct dp
  * device_resume_noirq - Execute an "early resume" callback for given device.
  * @dev: Device to handle.
  * @state: PM transition of the system being carried out.
+ * @async: If true, the device is being resumed asynchronously.
  *
  * The driver of @dev will not receive interrupts while this function is being
  * executed.
@@ -594,6 +595,7 @@ static void dpm_resume_noirq(pm_message_
  * device_resume_early - Execute an "early resume" callback for given device.
  * @dev: Device to handle.
  * @state: PM transition of the system being carried out.
+ * @async: If true, the device is being resumed asynchronously.
  *
  * Runtime PM is disabled for @dev while this function is being executed.
  */
@@ -1004,6 +1006,7 @@ static pm_message_t resume_event(pm_mess
  * device_suspend_noirq - Execute a "late suspend" callback for given device.
  * @dev: Device to handle.
  * @state: PM transition of the system being carried out.
+ * @async: If true, the device is being suspended asynchronously.
  *
  * The driver of @dev will not receive interrupts while this function is being
  * executed.
@@ -1144,6 +1147,7 @@ static int dpm_suspend_noirq(pm_message_
  * device_suspend_late - Execute a "late suspend" callback for given device.
  * @dev: Device to handle.
  * @state: PM transition of the system being carried out.
+ * @async: If true, the device is being suspended asynchronously.
  *
  * Runtime PM is disabled for @dev while this function is being executed.
  */
@@ -1298,6 +1302,7 @@ EXPORT_SYMBOL_GPL(dpm_suspend_end);
  * @dev: Device to suspend.
  * @state: PM transition of the system being carried out.
  * @cb: Suspend callback to execute.
+ * @info: string description of caller.
  */
 static int legacy_suspend(struct device *dev, pm_message_t state,
 			  int (*cb)(struct device *dev, pm_message_t state),

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

* Re: [PATCH] PM: fix kernel-doc warnings in drivers/base/power/main.c
  2014-07-27 23:17 [PATCH] PM: fix kernel-doc warnings in drivers/base/power/main.c Randy Dunlap
@ 2014-07-28 10:25 ` Pavel Machek
  0 siblings, 0 replies; 2+ messages in thread
From: Pavel Machek @ 2014-07-28 10:25 UTC (permalink / raw)
  To: Randy Dunlap; +Cc: Rafael J. Wysocki, Len Brown, Linux PM list

On Sun 2014-07-27 16:17:15, Randy Dunlap wrote:
> From: Randy Dunlap <rdunlap@infradead.org>
> 
> Fix kernel-doc warnings in drivers/base/power/main.c:
> 
> Warning(..//drivers/base/power/main.c:473): No description found for parameter 'async'
> Warning(..//drivers/base/power/main.c:601): No description found for parameter 'async'
> Warning(..//drivers/base/power/main.c:1012): No description found for parameter 'async'
> Warning(..//drivers/base/power/main.c:1151): No description found for parameter 'async'
> Warning(..//drivers/base/power/main.c:1305): No description found for parameter 'info'
> 
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> Cc:	"Rafael J. Wysocki" <rjw@rjwysocki.net>
> Cc:	Len Brown <len.brown@intel.com>

Acked-by: Pavel Machek <pavel@ucw.cz>
 
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

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

end of thread, other threads:[~2014-07-28 10:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-27 23:17 [PATCH] PM: fix kernel-doc warnings in drivers/base/power/main.c Randy Dunlap
2014-07-28 10:25 ` Pavel Machek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox