提交 d4ac0633 编写于 作者: M Markus Pargmann 提交者: Greg Kroah-Hartman

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: NMarkus Pargmann <mpa@pengutronix.de>
Acked-by: NFelipe Balbi <balbi@ti.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 91b32f54
......@@ -1747,8 +1747,6 @@ static int serial_omap_probe(struct platform_device *pdev)
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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册