Skip to contentSkip to conversation

tty: serial: omap: Remove probe error message

PATCH RESEND Superseded Markus Pargmann 2 participants 2 messages Sep 29, 2014 TTY layer and serial drivers

lore
Share & tools
lore
#0 lore raw

PATCH RESEND 1/1 tty: serial: omap: Remove probe error message

This error message is not necessary. The driver core code will print all probe error messages. It also resolves some error codes to proper error messages. For example -EPROBE_DEFER will only be printed as an info message.

This patch removes the error message as the core prints the same information.

---

Hi,

I am not sure if this patch got lost, so I resend it. I rebased the patch onto v3.17-rc1 without conflicts.

Best regards,

Markus

 drivers/tty/serial/omap-serial.c | 2 --
 1 file changed, 2 deletions(-)
drivers/tty/serial/omap-serial.c +0 -2
index d017cec8a34a..a153bad142c8 100644
@@ -1733,8 +1733,6 @@ err_add_port:
 	pm_runtime_disable(&pdev->dev);
 err_rs485:
 err_port_line:
-	dev_err(&pdev->dev, "[UART%d]: failure [%s]: %d\n",
-				pdev->id, __func__, ret);
 	return ret;
 }
 
Signature · 1 line
2.1.0
#1 lore raw

PATCH RESEND 1/1 tty: serial: omap: Remove probe error message

Quoted 8 lines · Markus Pargmann

This error message is not necessary. The driver core code will print all probe error messages. It also resolves some error codes to proper error messages. For example -EPROBE_DEFER will only be printed as an info message.

This patch removes the error message as the core prints the same information.

fine by me:

Signature · 8 lines
balbi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20140929/eeeb0b69/attachment.sig>