diff mbox series

PM: sleep: Update struct wakeup_source documentation

Message ID 9413171.SRfamDnp5r@kreacher (mailing list archive)
State Accepted, archived
Delegated to: Rafael Wysocki
Headers show
Series PM: sleep: Update struct wakeup_source documentation | expand

Commit Message

Rafael J. Wysocki June 18, 2019, 10:48 p.m. UTC
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(-)

Comments

Greg KH June 19, 2019, 3:15 p.m. UTC | #1
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>
diff mbox series

Patch

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;