[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20260205085159.101801-1-zhanxusheng@xiaomi.com>
Date: Thu, 5 Feb 2026 16:51:59 +0800
From: Zhan Xusheng <zhanxusheng1024@...il.com>
To: John Stultz <jstultz@...gle.com>
Cc: linux-kernel@...r.kernel.org,
Zhan Xusheng <zhanxusheng@...omi.com>
Subject: [PATCH] alarmtimer: Fix kerneldoc comment for alarmtimer_suspend()
Updated comment to explain that `dev` is used for scheduling
wake-up events.
Signed-off-by: Zhan Xusheng <zhanxusheng@...omi.com>
---
kernel/time/alarmtimer.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/time/alarmtimer.c b/kernel/time/alarmtimer.c
index 069d93bfb0c7..2548292b207d 100644
--- a/kernel/time/alarmtimer.c
+++ b/kernel/time/alarmtimer.c
@@ -208,7 +208,7 @@ EXPORT_SYMBOL_GPL(alarm_expires_remaining);
#ifdef CONFIG_RTC_CLASS
/**
* alarmtimer_suspend - Suspend time callback
- * @dev: unused
+ * @dev: the device that triggered the suspend, used for wake-up event
*
* When we are going into suspend, we look through the bases
* to see which is the soonest timer to expire. We then
--
2.43.0
Powered by blists - more mailing lists