[PATCH] drivers: base: Fix typo 'interupt' -> 'interrupt' in platform_get_irq_affinity()
From: Pranav Kharche
Date: Sat Mar 21 2026 - 12:45:03 EST
Signed-off-by: Pranav Kharche <pranavkharche7@xxxxxxxxx>
---
drivers/base/platform.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/base/platform.c b/drivers/base/platform.c
index b45d41b018ca..848f5fc95cf9 100644
--- a/drivers/base/platform.c
+++ b/drivers/base/platform.c
@@ -172,7 +172,7 @@ static const struct cpumask *get_irq_affinity(struct platform_device *dev,
* @num: interrupt number index
* @affinity: optional cpumask pointer to get the affinity of a per-cpu interrupt
*
- * Gets an interupt for a platform device. Device drivers should check the
+ * Gets an interrupt for a platform device. Device drivers should check the
* return value for errors so as to not pass a negative integer value to
* the request_irq() APIs. Optional affinity information is provided in the
* affinity pointer if available, and NULL otherwise.
--
2.34.1