]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
PM: sleep: Update struct wakeup_source documentation
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 18 Jun 2019 22:48:15 +0000 (00:48 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sat, 22 Jun 2019 09:28:37 +0000 (11:28 +0200)
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>
include/linux/pm_wakeup.h

index ce57771fab9bd45eb80e8fda8673bf49a9c7c9c8..91027602d1376d31d8f612a721ed66cdf19fef27 100644 (file)
@@ -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;