aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Pargmann <mpa@pengutronix.de>2014-11-05 07:20:50 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-11-05 21:56:47 -0500
commitd4ac0633ad28580df12ed050993fa426d60c6429 (patch)
tree958f07c15248166aa03bba07d4f2bab0ef45e8e6
parent91b32f5413c17e80ac6616dd9c62e826fa438e2d (diff)
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. Signed-off-by: Markus Pargmann <mpa@pengutronix.de> Acked-by: Felipe Balbi <balbi@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/tty/serial/omap-serial.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/tty/serial/omap-serial.c b/drivers/tty/serial/omap-serial.c
index 18c30cabe27f..6cda5cd8b513 100644
--- a/drivers/tty/serial/omap-serial.c
+++ b/drivers/tty/serial/omap-serial.c
@@ -1747,8 +1747,6 @@ err_add_port:
1747 pm_runtime_disable(&pdev->dev); 1747 pm_runtime_disable(&pdev->dev);
1748err_rs485: 1748err_rs485:
1749err_port_line: 1749err_port_line:
1750 dev_err(&pdev->dev, "[UART%d]: failure [%s]: %d\n",
1751 pdev->id, __func__, ret);
1752 return ret; 1750 return ret;
1753} 1751}
1754 1752