All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] counter: Remove redundant error messages on IRQ request failure
@ 2026-07-15 13:50 Pan Chuang
  2026-07-15 13:50 ` [PATCH 1/3] counter: stm32-timer-cnt: Remove redundant dev_err() Pan Chuang
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Pan Chuang @ 2026-07-15 13:50 UTC (permalink / raw)
  To: Fabrice Gasnier, William Breathitt Gray, Maxime Coquelin,
	Alexandre Torgue, Vignesh Raghavendra, Julien Panis,
	David Lechner, open list:COUNTER SUBSYSTEM,
	moderated list:ARM/STM32 ARCHITECTURE,
	moderated list:ARM/STM32 ARCHITECTURE, open list,
	open list:TI ENHANCED CAPTURE (eCAP) DRIVER
  Cc: Pan Chuang

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

Pan Chuang (3):
  counter: stm32-timer-cnt: Remove redundant dev_err()
  counter: ti-ecap-capture: Remove redundant dev_err_probe()
  counter: ti-eqep: Remove redundant dev_err_probe()

 drivers/counter/stm32-timer-cnt.c | 10 ++--------
 drivers/counter/ti-ecap-capture.c |  2 +-
 drivers/counter/ti-eqep.c         |  2 +-
 3 files changed, 4 insertions(+), 10 deletions(-)

-- 
2.34.1


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

end of thread, other threads:[~2026-07-15 14:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-15 13:50 [PATCH 0/3] counter: Remove redundant error messages on IRQ request failure Pan Chuang
2026-07-15 13:50 ` [PATCH 1/3] counter: stm32-timer-cnt: Remove redundant dev_err() Pan Chuang
2026-07-15 13:50 ` [PATCH 2/3] counter: ti-ecap-capture: Remove redundant dev_err_probe() Pan Chuang
2026-07-15 13:50 ` [PATCH 3/3] counter: ti-eqep: " Pan Chuang
2026-07-15 14:00 ` [PATCH 0/3] counter: Remove redundant error messages on IRQ request failure Joshua Crofts

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.