[PATCH 0/7] platform: Remove redundant error messages on IRQ request failure
Pan Chuang <[email protected]> Fri, 17 Jul 2026 19:20:38 +0800
| Newsgroups | dev.linux.lists.chrome-platform,org.infradead.lists.linux-arm-kernel,org.kernel.vger.linux-kernel,org.kernel.vger.platform-driver-x86 |
|---|---|
| Message-ID | <[email protected]> |
devm_request_threaded_irq() and devm_request_any_context_irq() automatically log detailed error messages on failure via the devm_request_result() helper, which prints device name, IRQ number, handler functions, and error code. Since devm_request_irq() is a static inline wrapper around devm_request_threaded_irq(), it also benefits from this automatic logging. Remove the now-redundant dev_err() and dev_err_probe() calls in platform drivers that follow these devm_request_*_irq() functions, as the core now provides more detailed diagnostic information on failure. Pan Chuang (7): platform: arm64: Remove redundant dev_err_probe() platform/chrome: Remove redundant dev_err() platform: cznic: turris-omnia-mcu: Remove redundant dev_err_probe() platform: goldfish: pipe: Remove redundant dev_err() platform/mellanox: Remove redundant dev_err() platform/raspberrypi: Remove redundant dev_err() platform/x86: Remove redundant dev_err()/dev_err_probe() drivers/platform/arm64/acer-aspire1-ec.c | 2 +- drivers/platform/arm64/huawei-gaokun-ec.c | 2 +- drivers/platform/arm64/lenovo-thinkpad-t14s.c | 2 +- drivers/platform/arm64/lenovo-yoga-c630.c | 2 +- drivers/platform/chrome/cros_ec.c | 5 +---- drivers/platform/cznic/turris-omnia-mcu-gpio.c | 2 +- drivers/platform/goldfish/goldfish_pipe.c | 4 +--- drivers/platform/mellanox/mlxbf-tmfifo.c | 1 - drivers/platform/mellanox/mlxreg-hotplug.c | 4 +--- drivers/platform/raspberrypi/vchiq-interface/vchiq_arm.c | 4 +--- drivers/platform/x86/asus-tf103c-dock.c | 2 +- drivers/platform/x86/intel/bxtwc_tmu.c | 5 +---- drivers/platform/x86/intel/bytcrc_pwrsrc.c | 2 +- drivers/platform/x86/intel/crystal_cove_charger.c | 2 +- drivers/platform/x86/intel/int0002_vgpio.c | 4 +--- drivers/platform/x86/intel/punit_ipc.c | 4 +--- 16 files changed, 15 insertions(+), 32 deletions(-) -- 2.34.1