Home
last modified time | relevance | path

Searched hist:cade3580f79aeba0048d1dc4efd754786713c2c3 (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/tty/serial/
H A Dserial_core.cdiff cade3580f79aeba0048d1dc4efd754786713c2c3 Fri Mar 31 20:35:18 CEST 2017 Andy Shevchenko <andriy.shevchenko@linux.intel.com> serial: core: Re-use struct uart_port {name} field

Since we have port name stored in struct uart_port, we better to use
that one instead of open coding.

This will make it one place source for easier maintenance or
modifications.

While here, replace printk(KERN_INFO ) by pr_info(). It seems last printk()
call in serial_core.c.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>