mirror of
https://github.com/torvalds/linux.git
synced 2026-09-22 12:44:03 +02:00
serial: sprd: Remove redundant dev_err()
Since commit 55b48e23f5 ("genirq/devres: Add error handling in
devm_request_*_irq()"), devm_request_irq() automatically logs
detailed error messages on failure. Remove the now-redundant
driver-specific dev_err() call.
Signed-off-by: Pan Chuang <panchuang@vivo.com>
Link: https://patch.msgid.link/20260722034342.316755-6-panchuang@vivo.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
4890e5d48d
commit
846a6422d2
|
|
@ -741,11 +741,8 @@ static int sprd_startup(struct uart_port *port)
|
|||
|
||||
ret = devm_request_irq(port->dev, port->irq, sprd_handle_irq,
|
||||
IRQF_SHARED, sp->name, port);
|
||||
if (ret) {
|
||||
dev_err(port->dev, "fail to request serial irq %d, ret=%d\n",
|
||||
port->irq, ret);
|
||||
if (ret)
|
||||
return ret;
|
||||
}
|
||||
fc = serial_in(port, SPRD_CTL1);
|
||||
fc |= RX_TOUT_THLD_DEF | RX_HFC_THLD_DEF;
|
||||
serial_out(port, SPRD_CTL1, fc);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user