Skip to contentSkip to conversation

tty: serial: omap: Remove probe error message

PATCH RESEND New Markus Pargmann 1 participant 1 message Nov 5, 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,

this is another resend of this patch. I rebased it onto v3.18-rc3.

Regards,

Markus

 drivers/tty/serial/omap-serial.c | 2 --
 1 file changed, 2 deletions(-)
drivers/tty/serial/omap-serial.c +0 -2
index 18c30cabe27f..6cda5cd8b513 100644
@@ -1747,8 +1747,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.1