projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18662a1
)
tty: serial: serial_txx9: remove info print from init
author
Jiri Slaby
<jslaby@suse.cz>
Thu, 24 Feb 2022 11:10:25 +0000
(12:10 +0100)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Fri, 25 Feb 2022 09:38:21 +0000
(10:38 +0100)
Remove the hello print among with version and name definitions. Drivers
should print nothing if they are successful.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link:
https://lore.kernel.org/r/20220224111028.20917-3-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/serial_txx9.c
patch
|
blob
|
history
diff --git
a/drivers/tty/serial/serial_txx9.c
b/drivers/tty/serial/serial_txx9.c
index aaca4fe38486a03de36340a07a376340278dd52b..cd38cf1f03cbc5d3cfcdf82212d3f4790c18e372 100644
(file)
--- a/
drivers/tty/serial/serial_txx9.c
+++ b/
drivers/tty/serial/serial_txx9.c
@@
-26,9
+26,6
@@
#include <linux/io.h>
-static char *serial_version = "1.11";
-static char *serial_name = "TX39/49 Serial driver";
-
#define PASS_LIMIT 256
#if !defined(CONFIG_SERIAL_TXX9_STDSERIAL)
@@
-1255,8
+1252,6
@@
static int __init serial_txx9_init(void)
{
int ret;
- printk(KERN_INFO "%s version %s\n", serial_name, serial_version);
-
ret = uart_register_driver(&serial_txx9_reg);
if (ret)
goto out;