Skip to contentSkip to conversation

PM / core: fix kerneldoc comment for dpm_watchdog_handler()

PATCH In review Yangtao Li 3 participants 3 messages Mar 16, 2019 – Apr 10, 2019

Subsystems (4)
lore
Share & tools
lore

Yangtao Li

author
#0 lore raw

PATCH 1/1 PM / core: fix kerneldoc comment for dpm_watchdog_handler()

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

---
 drivers/base/power/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/base/power/main.c +1 -1
index f80d298de3fa..0cff68bd7b4b 100644
@@ -478,7 +478,7 @@ struct dpm_watchdog {
 
 /**
  * dpm_watchdog_handler - Driver suspend / resume watchdog handler.
- * @data: Watchdog object address.
+ * @t: The timer that pm watchdog depends on.
  *
  * Called when a driver has timed out suspending or resuming.
  * There's not much we can do here to recover so panic() to
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 17 lines
---
 drivers/base/power/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/base/power/main.c +1 -1
index f80d298de3fa..0cff68bd7b4b 100644
@@ -478,7 +478,7 @@ struct dpm_watchdog {
 
 /**
  * dpm_watchdog_handler - Driver suspend / resume watchdog handler.
- * @data: Watchdog object address.
+ * @t: The timer that pm watchdog depends on.
  *
  * Called when a driver has timed out suspending or resuming.
  * There's not much we can do here to recover so panic() to
Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html