[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <176996602933.2495410.8739189321451615740.tip-bot2@tip-bot2>
Date: Sun, 01 Feb 2026 17:13:49 -0000
From: "tip-bot2 for Sebastian Andrzej Siewior" <tip-bot2@...utronix.de>
To: linux-tip-commits@...r.kernel.org
Cc: Sebastian Andrzej Siewior <bigeasy@...utronix.de>,
Thomas Gleixner <tglx@...nel.org>, Ioana Ciornei <ioana.ciornei@....com>,
x86@...nel.org, linux-kernel@...r.kernel.org
Subject: [tip: irq/cleanups] bus: fsl-mc: Use default primary handler
The following commit has been merged into the irq/cleanups branch of tip:
Commit-ID: 29d4ff55fe9866be7afa3669ff54da0e4bfd5fb8
Gitweb: https://git.kernel.org/tip/29d4ff55fe9866be7afa3669ff54da0e4bfd5fb8
Author: Sebastian Andrzej Siewior <bigeasy@...utronix.de>
AuthorDate: Wed, 28 Jan 2026 10:55:25 +01:00
Committer: Thomas Gleixner <tglx@...nel.org>
CommitterDate: Sun, 01 Feb 2026 17:37:14 +01:00
bus: fsl-mc: Use default primary handler
There is no added value in dprc_irq0_handler() compared to
irq_default_primary_handler().
Use the default primary interrupt handler by specifying NULL.
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@...utronix.de>
Signed-off-by: Thomas Gleixner <tglx@...nel.org>
Reviewed-by: Ioana Ciornei <ioana.ciornei@....com>
Link: https://patch.msgid.link/20260128095540.863589-6-bigeasy@linutronix.de
---
drivers/bus/fsl-mc/dprc-driver.c | 13 +------------
1 file changed, 1 insertion(+), 12 deletions(-)
diff --git a/drivers/bus/fsl-mc/dprc-driver.c b/drivers/bus/fsl-mc/dprc-driver.c
index c63a7e6..db67442 100644
--- a/drivers/bus/fsl-mc/dprc-driver.c
+++ b/drivers/bus/fsl-mc/dprc-driver.c
@@ -381,17 +381,6 @@ int dprc_scan_container(struct fsl_mc_device *mc_bus_dev,
EXPORT_SYMBOL_GPL(dprc_scan_container);
/**
- * dprc_irq0_handler - Regular ISR for DPRC interrupt 0
- *
- * @irq_num: IRQ number of the interrupt being handled
- * @arg: Pointer to device structure
- */
-static irqreturn_t dprc_irq0_handler(int irq_num, void *arg)
-{
- return IRQ_WAKE_THREAD;
-}
-
-/**
* dprc_irq0_handler_thread - Handler thread function for DPRC interrupt 0
*
* @irq_num: IRQ number of the interrupt being handled
@@ -527,7 +516,7 @@ static int register_dprc_irq_handler(struct fsl_mc_device *mc_dev)
*/
error = devm_request_threaded_irq(&mc_dev->dev,
irq->virq,
- dprc_irq0_handler,
+ NULL,
dprc_irq0_handler_thread,
IRQF_NO_SUSPEND | IRQF_ONESHOT,
dev_name(&mc_dev->dev),
Powered by blists - more mailing lists