* [PATCH] tty: serial: omap: Remove probe error message
@ 2014-08-04 12:59 ` Markus Pargmann
0 siblings, 0 replies; 2+ messages in thread
From: Markus Pargmann @ 2014-08-04 12:59 UTC (permalink / raw)
To: Greg Kroah-Hartman
Cc: Felipe Balbi, Tony Lindgren, linux-serial, linux-arm-kernel,
kernel, 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.
Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
---
drivers/tty/serial/omap-serial.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/tty/serial/omap-serial.c b/drivers/tty/serial/omap-serial.c
index d017cec8a34a..a153bad142c8 100644
--- a/drivers/tty/serial/omap-serial.c
+++ b/drivers/tty/serial/omap-serial.c
@@ -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;
}
--
2.0.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH] tty: serial: omap: Remove probe error message
@ 2014-08-04 12:59 ` Markus Pargmann
0 siblings, 0 replies; 2+ messages in thread
From: Markus Pargmann @ 2014-08-04 12:59 UTC (permalink / raw)
To: linux-arm-kernel
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>
---
drivers/tty/serial/omap-serial.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/tty/serial/omap-serial.c b/drivers/tty/serial/omap-serial.c
index d017cec8a34a..a153bad142c8 100644
--- a/drivers/tty/serial/omap-serial.c
+++ b/drivers/tty/serial/omap-serial.c
@@ -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;
}
--
2.0.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-08-04 13:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-04 12:59 [PATCH] tty: serial: omap: Remove probe error message Markus Pargmann
2014-08-04 12:59 ` Markus Pargmann
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.