Skip to contentSkip to conversation

PM: sleep: Update struct wakeup_source documentation

PATCH In review Rafael J. Wysocki 2 participants 2 messages Jun 18, 2019 – Jun 19, 2019 Power management core

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 PM: sleep: Update struct wakeup_source documentation

From: Rafael J. Wysocki <[email protected]>

The kerneldoc comment for struct wakeup_source has become outdated, so fix that.

---
 include/linux/pm_wakeup.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/pm_wakeup.h +1 -1
Index: 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;