diff options
author | 2017-03-31 21:35:18 +0300 | |
---|---|---|
committer | 2017-04-08 18:51:57 +0200 | |
commit | cade3580f79aeba0048d1dc4efd754786713c2c3 (patch) | |
tree | 810b9339b62bbb136584e54b43b474b598098915 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | serial: core: constify struct uart_port {name} field (diff) | |
download | wireguard-linux-cade3580f79aeba0048d1dc4efd754786713c2c3.tar.xz wireguard-linux-cade3580f79aeba0048d1dc4efd754786713c2c3.zip |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions