diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2017-03-31 21:35:18 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-04-08 18:51:57 +0200 |
commit | cade3580f79aeba0048d1dc4efd754786713c2c3 (patch) | |
tree | 810b9339b62bbb136584e54b43b474b598098915 /net/lapb/lapb_timer.c | |
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>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions