]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
jiffies: Transform comment about time_* functions into DOC block
authorAnna-Maria Behnsen <anna-maria@linutronix.de>
Tue, 23 Jan 2024 16:46:59 +0000 (17:46 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 19 Feb 2024 08:38:00 +0000 (09:38 +0100)
This general note about time_* functions is also useful to be available in
kernel documentation. Therefore transform it into a kernel-doc DOC block
with proper formatting.

Signed-off-by: Anna-Maria Behnsen <anna-maria@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20240123164702.55612-6-anna-maria@linutronix.de
include/linux/jiffies.h

index e0ae2a43e0ebdd22d17680477c2bb152b6ba767b..d9f1435a5a13cfe4d74bfb945265bad8ab7cb772 100644 (file)
@@ -102,12 +102,15 @@ static inline u64 get_jiffies_64(void)
 }
 #endif
 
-/*
- *     These inlines deal with timer wrapping correctly. You are
- *     strongly encouraged to use them:
- *     1. Because people otherwise forget
- *     2. Because if the timer wrap changes in future you won't have to
- *        alter your driver code.
+/**
+ * DOC: General information about time_* inlines
+ *
+ * These inlines deal with timer wrapping correctly. You are strongly encouraged
+ * to use them:
+ *
+ * #. Because people otherwise forget
+ * #. Because if the timer wrap changes in future you won't have to alter your
+ *    driver code.
  */
 
 /**