[PATCH] Fix struct irqaction comment order inconsistency

From: ChengChaoChun
Date: Mon Aug 12 2024 - 07:54:57 EST


Rearrange struct irqaction comment to match member order in the code.

Signed-off-by: ChengChaoChun <abc21531050@xxxxxxxxx>
---
include/linux/interrupt.h | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/include/linux/interrupt.h b/include/linux/interrupt.h
index 3f30c88e0b4c..ba59ae4521c9 100644
--- a/include/linux/interrupt.h
+++ b/include/linux/interrupt.h
@@ -105,19 +105,19 @@ typedef irqreturn_t (*irq_handler_t)(int, void *);

/**
* struct irqaction - per interrupt action descriptor
- * @handler: interrupt handler function
- * @name: name of the device
- * @dev_id: cookie to identify the device
+ * @handler: interrupt handler function
+ * @dev_id: cookie to identify the device
* @percpu_dev_id: cookie to identify the device
- * @next: pointer to the next irqaction for shared interrupts
- * @irq: interrupt number
- * @flags: flags (see IRQF_* above)
- * @thread_fn: interrupt handler function for threaded interrupts
- * @thread: thread pointer for threaded interrupts
- * @secondary: pointer to secondary irqaction (force threading)
+ * @next: pointer to the next irqaction for shared interrupts
+ * @thread_fn: interrupt handler function for threaded interrupts
+ * @thread: thread pointer for threaded interrupts
+ * @secondary: pointer to secondary irqaction (force threading)
+ * @irq: interrupt number
+ * @flags: flags (see IRQF_* above)
* @thread_flags: flags related to @thread
* @thread_mask: bitmask for keeping track of @thread activity
- * @dir: pointer to the proc/irq/NN/name entry
+ * @name: name of the device
+ * @dir: pointer to the proc/irq/NN/name entry
*/
struct irqaction {
irq_handler_t handler;

base-commit: 7c626ce4bae1ac14f60076d00eafe71af30450ba
--
2.34.1