summaryrefslogtreecommitdiff
path: root/drivers/platform
diff options
context:
space:
mode:
authorPan Chuang <panchuang@vivo.com>2026-07-17 19:20:40 +0800
committerTzung-Bi Shih <tzungbi@kernel.org>2026-07-20 03:24:35 +0000
commit17376e7311cdec252b61cb1ecec43be61907781b (patch)
treec24b29a1e548404544ee7bea1b30af6f9b3cad63 /drivers/platform
parent9a3f43b30373c61477d0d3ab52946c05f9492bf9 (diff)
downloadlinux-next-17376e7311cdec252b61cb1ecec43be61907781b.tar.gz
linux-next-17376e7311cdec252b61cb1ecec43be61907781b.zip
platform/chrome: cros_ec: Remove redundant dev_err()
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@vivo.com> Link: https://lore.kernel.org/r/20260717112103.213017-3-panchuang@vivo.com Signed-off-by: Tzung-Bi Shih <tzungbi@kernel.org>
Diffstat (limited to 'drivers/platform')
-rw-r--r--drivers/platform/chrome/cros_ec.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/platform/chrome/cros_ec.c b/drivers/platform/chrome/cros_ec.c
index 1da79e3d215b..5d0f5a9187b1 100644
--- a/drivers/platform/chrome/cros_ec.c
+++ b/drivers/platform/chrome/cros_ec.c
@@ -249,11 +249,8 @@ int cros_ec_register(struct cros_ec_device *ec_dev)
cros_ec_irq_thread,
IRQF_TRIGGER_LOW | IRQF_ONESHOT,
"chromeos-ec", ec_dev);
- if (err) {
- dev_err(dev, "Failed to request IRQ %d: %d\n",
- ec_dev->irq, err);
+ if (err)
goto exit;
- }
}
/* Register a platform device for the main EC instance */