Skip to contentSkip to conversation

clockevents: document suspend and resume members of clock_event_device

PATCH New Kit Dallege 1 participant 1 message Mar 15 High-resolution timers, timer wheel, clockevents

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 clockevents: document suspend and resume members of clock_event_device

Add kernel-doc entries for the @suspend and @resume function pointer members that were missing from struct clock_event_device.

Assisted-by Claude:claude-opus-4-6
---
 include/linux/clockchips.h | 2 ++
 1 file changed, 2 insertions(+)
include/linux/clockchips.h +2 -0
index b0df28ddd394..2d9101bd9bdd 100644
@@ -87,6 +87,8 @@ enum clock_event_state {
  * @set_state_shutdown:	switch state to shutdown
  * @tick_resume:	resume clkevt device
  * @broadcast:		function to broadcast events
+ * @suspend:		low level suspend callback for the clockevent device
+ * @resume:		low level resume callback for the clockevent device
  * @min_delta_ticks:	minimum delta value in ticks stored for reconfiguration
  * @max_delta_ticks:	maximum delta value in ticks stored for reconfiguration
  * @name:		ptr to clock event name
Signature · 1 line
2.53.0