All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] firmware: qcom: Remove redundant dev_err_probe()
@ 2026-07-13 13:19 Pan Chuang
  2026-07-13 13:19 ` [PATCH] firmware: tegra: Remove redundant dev_err() Pan Chuang
  0 siblings, 1 reply; 3+ messages in thread
From: Pan Chuang @ 2026-07-13 13:19 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, open list:ARM/QUALCOMM SUPPORT,
	open list
  Cc: Pan Chuang

Since commit 55b48e23f5c4 ("genirq/devres: Add error handling in
devm_request_*_irq()"), devm_request_threaded_irq() automatically logs
detailed error messages on failure. Remove the now-redundant
driver-specific dev_err_probe() calls.

Signed-off-by: Pan Chuang <panchuang@vivo.com>
---
 drivers/firmware/qcom/qcom_scm.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/firmware/qcom/qcom_scm.c b/drivers/firmware/qcom/qcom_scm.c
index 6b601a4b89db..fad3e73791ac 100644
--- a/drivers/firmware/qcom/qcom_scm.c
+++ b/drivers/firmware/qcom/qcom_scm.c
@@ -2822,8 +2822,7 @@ static int qcom_scm_probe(struct platform_device *pdev)
 		ret = devm_request_threaded_irq(scm->dev, irq, NULL, qcom_scm_irq_handler,
 						IRQF_ONESHOT, "qcom-scm", scm);
 		if (ret < 0)
-			return dev_err_probe(scm->dev, ret,
-					     "Failed to request qcom-scm irq\n");
+			return ret;
 	}
 
 	/*
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-07-15  6:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-13 13:19 [PATCH] firmware: qcom: Remove redundant dev_err_probe() Pan Chuang
2026-07-13 13:19 ` [PATCH] firmware: tegra: Remove redundant dev_err() Pan Chuang
2026-07-15  6:14   ` Mikko Perttunen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.