commit | cade3580f79aeba0048d1dc4efd754786713c2c3 | [log] [tgz] |
---|---|---|
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | Fri Mar 31 21:35:18 2017 +0300 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat Apr 08 18:51:57 2017 +0200 |
tree | 810b9339b62bbb136584e54b43b474b598098915 | |
parent | 2e94d5ae5da1d2e798045a53b5e234a42b090908 [diff] |
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>