]> git.baikalelectronics.ru Git - kernel.git/commit
serial: omap-serial: Move info message to probe function
authorMarkus Pargmann <mpa@pengutronix.de>
Fri, 24 Jan 2014 17:09:41 +0000 (18:09 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 Feb 2014 17:17:30 +0000 (09:17 -0800)
commit235882a2730cf133a6b6857e21ad7e4e97223f69
treefbf14bf0922671840ecf7ee70117642c8806a6e1
parent4c26430ea848c33fa023ea442f9a6d97c43e054b
serial: omap-serial: Move info message to probe function

Currently the info message about a missing wakeirq for uart is printed
every time the serial driver's startup function is called. This happens
multiple times and not just once.

This patch moves the infomessage to the probe function to display it
only once.

Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/omap-serial.c