Commit 144c29ed authored by Fabio Estevam's avatar Fabio Estevam Committed by Greg Kroah-Hartman

serial: fsl_lpuart: Remove unneeded registration message

There is no real value in displaying "serial: Freescale lpuart driver" in every
boot.

The uart_register_driver() can fail and even so the "serial: Freescale lpuart
driver" will be displayed, which is not really helpful.

This is particularly annoying when booting multi_v7_defconfig kernel on a SoC
that is not a Vybrid/Layerscape and even though this message gets displayed.
Signed-off-by: default avatarFabio Estevam <fabio.estevam@freescale.com>
Acked-by: default avatarJingchang Lu <jingchang.lu@freescale.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 4ae612a3
...@@ -1896,11 +1896,8 @@ static struct platform_driver lpuart_driver = { ...@@ -1896,11 +1896,8 @@ static struct platform_driver lpuart_driver = {
static int __init lpuart_serial_init(void) static int __init lpuart_serial_init(void)
{ {
int ret; int ret = uart_register_driver(&lpuart_reg);
pr_info("serial: Freescale lpuart driver\n");
ret = uart_register_driver(&lpuart_reg);
if (ret) if (ret)
return ret; return ret;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment