[PATCH 3/7] staging: greybus: arche-platform: Remove redundant dev_err()

From: Pan Chuang

Date: Mon Jul 20 2026 - 09:52:58 EST


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() calls.

Signed-off-by: Pan Chuang <panchuang@xxxxxxxx>
---
drivers/staging/greybus/arche-platform.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/drivers/staging/greybus/arche-platform.c b/drivers/staging/greybus/arche-platform.c
index de5de59ea8ab..075717b8aef6 100644
--- a/drivers/staging/greybus/arche-platform.c
+++ b/drivers/staging/greybus/arche-platform.c
@@ -503,10 +503,8 @@ static int arche_platform_probe(struct platform_device *pdev)
IRQF_TRIGGER_FALLING |
IRQF_TRIGGER_RISING | IRQF_ONESHOT,
dev_name(dev), arche_pdata);
- if (ret) {
- dev_err(dev, "failed to request wake detect IRQ %d\n", ret);
+ if (ret)
return ret;
- }
disable_irq(arche_pdata->wake_detect_irq);

ret = device_create_file(dev, &dev_attr_state);
--
2.34.1