Thread (3 messages) 3 messages, 1 author, 2d ago
WARM2d

[PATCH 0/4] pinctrl: Remove redundant error messages on IRQ request failure

From: Pan Chuang <hidden>
Date: 2026-07-17 10:59:35
Also in: linux-gpio, linux-mediatek, lkml

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

Pan Chuang (4):
  pinctrl: airoha: Remove redundant dev_err()
  pinctrl: bcm: Remove redundant dev_err()
  pinctrl: intel: Remove redundant dev_err_probe()
  pinctrl: Remove redundant dev_err()/dev_err_probe()

 drivers/pinctrl/airoha/pinctrl-airoha.c | 4 +---
 drivers/pinctrl/bcm/pinctrl-nsp-gpio.c  | 5 +----
 drivers/pinctrl/intel/pinctrl-intel.c   | 2 +-
 drivers/pinctrl/pinctrl-aw9523.c        | 2 +-
 drivers/pinctrl/pinctrl-mcp23s08.c      | 5 +----
 drivers/pinctrl/pinctrl-stmfx.c         | 4 +---
 6 files changed, 6 insertions(+), 16 deletions(-)

-- 
2.34.1

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help