[PATCH 00/18] thermal/drivers: Remove redundant error messages on IRQ request failure

Pan Chuang panchuang at vivo.com
Wed Jul 8 19:30:03 PDT 2026


Commit 55b48e23f5c4b6f5ca9b7ab09599b17dcf501c10 ("genirq/devres: Add
error handling in devm_request_*_irq()") added automatic error
logging to devm_request_threaded_irq() and
devm_request_any_context_irq() via the new devm_request_result() 
helper, which prints device name, IRQ number, handler functions, and
error code on failure.

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
thermal drivers that follow these devm_request_*_irq() functions, as
the core now provides more detailed diagnostic information on failure.

Pan Chuang (18):
  thermal/drivers/airoha: Remove redundant dev_err()
  thermal/drivers/armada: Remove redundant dev_err()
  thermal/drivers/db8500: Remove redundant dev_err()
  thermal/drivers/hisi: Remove redundant dev_err()
  thermal/drivers/imx: Remove redundant dev_err()
  thermal/drivers/loongson2: Remove redundant dev_err_probe()
  thermal/drivers/max77620: Remove redundant dev_err()
  thermal/drivers/rockchip: Remove redundant dev_err_probe()
  thermal/drivers/brcmstb_thermal: Remove redundant dev_err_probe()
  thermal: intel: int340x: Remove redundant dev_err()
  thermal/drivers/intel/bxt_pmic: Remove redundant dev_err()
  thermal/drivers/mediatek/lvts_thermal: Remove redundant dev_err()
  thermal/drivers/qcom: Remove redundant dev_err()
  thermal/drivers/renesas: Remove redundant dev_err()
  thermal/drivers/exynos: Remove redundant dev_err()
  thermal/drivers/st: Remove redundant dev_err()
  thermal/drivers/tegra: Remove redundant dev_err() and dev_err_probe()
  thermal/drivers/imx91: Remove redundant dev_err_probe()

 drivers/thermal/airoha_thermal.c                          | 4 +---
 drivers/thermal/armada_thermal.c                          | 5 +----
 drivers/thermal/broadcom/brcmstb_thermal.c                | 3 +--
 drivers/thermal/db8500_thermal.c                          | 8 ++------
 drivers/thermal/hisi_thermal.c                            | 4 +---
 drivers/thermal/imx91_thermal.c                           | 2 +-
 drivers/thermal/imx_thermal.c                             | 4 +---
 .../intel/int340x_thermal/processor_thermal_device_pci.c  | 8 ++------
 drivers/thermal/intel/intel_bxt_pmic_thermal.c            | 4 +---
 drivers/thermal/loongson2_thermal.c                       | 2 +-
 drivers/thermal/max77620_thermal.c                        | 8 ++------
 drivers/thermal/mediatek/lvts_thermal.c                   | 2 +-
 drivers/thermal/qcom/lmh.c                                | 1 -
 drivers/thermal/qcom/tsens.c                              | 5 +----
 drivers/thermal/renesas/rcar_thermal.c                    | 4 +---
 drivers/thermal/renesas/rzg3e_thermal.c                   | 4 +---
 drivers/thermal/rockchip_thermal.c                        | 3 +--
 drivers/thermal/samsung/exynos_tmu.c                      | 4 +---
 drivers/thermal/st/st_thermal_memmap.c                    | 4 +---
 drivers/thermal/st/stm_thermal.c                          | 5 +----
 drivers/thermal/tegra/soctherm.c                          | 8 ++------
 drivers/thermal/tegra/tegra30-tsensor.c                   | 3 +--
 22 files changed, 25 insertions(+), 70 deletions(-)

-- 
2.34.1




More information about the Linux-rockchip mailing list