From: Markus Pargmann Date: Wed, 5 Nov 2014 12:20:50 +0000 (+0100) Subject: tty: serial: omap: Remove probe error message X-Git-Tag: v5.15~16682^2~157 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d4ac0633ad28580df12ed050993fa426d60c6429;p=platform%2Fkernel%2Flinux-starfive.git 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 Acked-by: Felipe Balbi Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/tty/serial/omap-serial.c b/drivers/tty/serial/omap-serial.c index 18c30ca..6cda5cd 100644 --- a/drivers/tty/serial/omap-serial.c +++ b/drivers/tty/serial/omap-serial.c @@ -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; }