amiserial: remove serial_* strings
authorJiri Slaby <jslaby@suse.cz>
Wed, 14 Jul 2021 09:13:05 +0000 (11:13 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Jul 2021 10:49:50 +0000 (12:49 +0200)
commit1cd25475a5ebea9a82c61a9a17abea7e78dfff9f
tree08c29901b09aab831940643a49e988141e25e8eb
parentba998c7c3aba194f43f85bb9ce13cb4f077d3b7a
amiserial: remove serial_* strings

Remove a print of serial_name and serial_version from the probe
function, i.e. show_serial_version() from amiga_serial_probe(). The
value of such a print is minimal.

Aside from that, the version is artificial (copied from the serial core
in 2.3.45pre2 and never increased). So inline the version into
seq_printf's format string in rs_proc_show() and remove both strings
completely.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20210714091314.8292-2-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/amiserial.c