* [PATCH] PM: sleep: Update struct wakeup_source documentation
@ 2019-06-18 22:48 Rafael J. Wysocki
2019-06-19 15:15 ` Greg Kroah-Hartman
0 siblings, 1 reply; 2+ messages in thread
From: Rafael J. Wysocki @ 2019-06-18 22:48 UTC (permalink / raw)
To: Linux PM; +Cc: LKML, Greg Kroah-Hartman
From: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
The kerneldoc comment for struct wakeup_source has become outdated,
so fix that.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
---
include/linux/pm_wakeup.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: linux-pm/include/linux/pm_wakeup.h
===================================================================
--- linux-pm.orig/include/linux/pm_wakeup.h
+++ linux-pm/include/linux/pm_wakeup.h
@@ -36,7 +36,7 @@ struct wake_irq;
* @expire_count: Number of times the wakeup source's timeout has expired.
* @wakeup_count: Number of times the wakeup source might abort suspend.
* @active: Status of the wakeup source.
- * @has_timeout: The wakeup source has been activated with a timeout.
+ * @autosleep_enabled: Autosleep is active, so update @prevent_sleep_time.
*/
struct wakeup_source {
const char *name;
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] PM: sleep: Update struct wakeup_source documentation
2019-06-18 22:48 [PATCH] PM: sleep: Update struct wakeup_source documentation Rafael J. Wysocki
@ 2019-06-19 15:15 ` Greg Kroah-Hartman
0 siblings, 0 replies; 2+ messages in thread
From: Greg Kroah-Hartman @ 2019-06-19 15:15 UTC (permalink / raw)
To: Rafael J. Wysocki; +Cc: Linux PM, LKML
On Wed, Jun 19, 2019 at 12:48:15AM +0200, Rafael J. Wysocki wrote:
> From: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
>
> The kerneldoc comment for struct wakeup_source has become outdated,
> so fix that.
>
> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-06-19 15:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-18 22:48 [PATCH] PM: sleep: Update struct wakeup_source documentation Rafael J. Wysocki
2019-06-19 15:15 ` Greg Kroah-Hartman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).