[PATCH 0/2] HSI: Remove redundant error messages on IRQ request failure

Pan Chuang posted 2 patches 1 week, 5 days ago
drivers/hsi/clients/nokia-modem.c       | 5 +----
drivers/hsi/controllers/omap_ssi_core.c | 5 +----
drivers/hsi/controllers/omap_ssi_port.c | 6 ------
3 files changed, 2 insertions(+), 14 deletions(-)
[PATCH 0/2] HSI: Remove redundant error messages on IRQ request failure
Posted by Pan Chuang 1 week, 5 days ago
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 hsi drivers that follow these devm_request_*_irq()
functions, as the core now provides more detailed diagnostic
information on failure.

Pan Chuang (2):
  HSI: nokia-modem: Remove redundant dev_err()
  HSI: omap_ssi: Remove redundant dev_err()

 drivers/hsi/clients/nokia-modem.c       | 5 +----
 drivers/hsi/controllers/omap_ssi_core.c | 5 +----
 drivers/hsi/controllers/omap_ssi_port.c | 6 ------
 3 files changed, 2 insertions(+), 14 deletions(-)

-- 
2.34.1