mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/4] pinctrl: Remove redundant error messages on IRQ request failure
@ 2026-07-17 10:58 Pan Chuang
  2026-07-17 10:58 ` [PATCH 1/4] pinctrl: airoha: Remove redundant dev_err() Pan Chuang
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Pan Chuang @ 2026-07-17 10:58 UTC (permalink / raw)
  To: Lorenzo Bianconi, Linus Walleij, Ray Jui, Scott Branden,
	Broadcom internal kernel review list, Mika Westerberg,
	Andy Shevchenko, Maxime Coquelin, Alexandre Torgue,
	moderated list:PIN CONTROLLER - AIROHA,
	open list:PIN CONTROL SUBSYSTEM, open list,
	moderated list:BROADCOM IPROC ARM ARCHITECTURE,
	moderated list:ARM/STM32 ARCHITECTURE
  Cc: Pan Chuang

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-07-17 16:58 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-17 10:58 [PATCH 0/4] pinctrl: Remove redundant error messages on IRQ request failure Pan Chuang
2026-07-17 10:58 ` [PATCH 1/4] pinctrl: airoha: Remove redundant dev_err() Pan Chuang
2026-07-17 10:58 ` [PATCH 2/4] pinctrl: bcm: " Pan Chuang
2026-07-17 10:58 ` [PATCH 3/4] pinctrl: intel: Remove redundant dev_err_probe() Pan Chuang
2026-07-17 16:58   ` Andy Shevchenko
2026-07-17 10:58 ` [PATCH 4/4] pinctrl: Remove redundant dev_err()/dev_err_probe() Pan Chuang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox