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 tty drivers that follow these devm_request_*_irq()
functions, as the core now provides more detailed diagnostic
information on failure.
Pan Chuang (5):
serial: 8250_bcm7271: Remove redundant dev_err_probe()
serial: imx: Remove redundant dev_err()
serial: mvebu-uart: Remove redundant dev_err()
serial: mctrl_gpio: Remove redundant dev_err()
serial: sprd: Remove redundant dev_err()
drivers/tty/serial/8250/8250_bcm7271.c | 4 +---
drivers/tty/serial/imx.c | 19 ++++---------------
drivers/tty/serial/mvebu-uart.c | 12 ++----------
drivers/tty/serial/serial_mctrl_gpio.c | 3 ---
drivers/tty/serial/sprd_serial.c | 5 +----
5 files changed, 8 insertions(+), 35 deletions(-)
--
2.34.1