Skip to contentSkip to conversation

PM / wakeup: fix comment of pm_wakeup_dev_event()

PATCH In review Yangtao Li 3 participants 3 messages Jan 23, 2019 – Jan 30, 2019

Subsystems (4)
lore
Share & tools
lore

Yangtao Li

author
#0 lore raw

PATCH 1/1 PM / wakeup: fix comment of pm_wakeup_dev_event()

This brings the kernel doc in line with the function signature.

---
 drivers/base/power/wakeup.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/base/power/wakeup.c +1 -1
index 5fa1898755a3..f1fee72ed970 100644
@@ -783,7 +783,7 @@ void pm_wakeup_ws_event(struct wakeup_source *ws, unsigned int msec, bool hard)
 EXPORT_SYMBOL_GPL(pm_wakeup_ws_event);
 
 /**
- * pm_wakeup_event - Notify the PM core of a wakeup event.
+ * pm_wakeup_dev_event - Notify the PM core of a wakeup event.
  * @dev: Device the wakeup event is related to.
  * @msec: Anticipated event processing time (in milliseconds).
  * @hard: If set, abort suspends in progress and wake up from suspend-to-idle.
Signature · 1 line
2.17.0
Acked-by on v1 1/1
#1 lore raw
Quoted 3 lines · Yangtao Li

This brings the kernel doc in line with the function signature.

Quoted 9 lines
drivers/base/power/wakeup.c +1 -1
@@ -783,7 +783,7 @@ void pm_wakeup_ws_event(struct wakeup_source *ws, unsigned int msec, bool hard)
 EXPORT_SYMBOL_GPL(pm_wakeup_ws_event);
 
 /**
- * pm_wakeup_event - Notify the PM core of a wakeup event.
+ * pm_wakeup_dev_event - Notify the PM core of a wakeup event.
  * @dev: Device the wakeup event is related to.
  * @msec: Anticipated event processing time (in milliseconds).
  * @hard: If set, abort suspends in progress and wake up from suspend-to-idle.
Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html