Commit 1a71bd2e authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

USB: serial: ftdi_sio: remove startup message

No one needs to know that the driver is loaded (almost all other USB
serial drivers are now quiet), so just load quietly.

Also remove unused, and unneeded version information from the driver,
that was pointless.

Cc: Uwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent c6ab0158
...@@ -48,10 +48,6 @@ ...@@ -48,10 +48,6 @@
#include "ftdi_sio.h" #include "ftdi_sio.h"
#include "ftdi_sio_ids.h" #include "ftdi_sio_ids.h"
/*
* Version Information
*/
#define DRIVER_VERSION "v1.6.0"
#define DRIVER_AUTHOR "Greg Kroah-Hartman <greg@kroah.com>, Bill Ryder <bryder@sgi.com>, Kuba Ober <kuba@mareimbrium.org>, Andreas Mohr, Johan Hovold <jhovold@gmail.com>" #define DRIVER_AUTHOR "Greg Kroah-Hartman <greg@kroah.com>, Bill Ryder <bryder@sgi.com>, Kuba Ober <kuba@mareimbrium.org>, Andreas Mohr, Johan Hovold <jhovold@gmail.com>"
#define DRIVER_DESC "USB FTDI Serial Converters Driver" #define DRIVER_DESC "USB FTDI Serial Converters Driver"
...@@ -2419,8 +2415,6 @@ static int ftdi_ioctl(struct tty_struct *tty, ...@@ -2419,8 +2415,6 @@ static int ftdi_ioctl(struct tty_struct *tty,
static int __init ftdi_init(void) static int __init ftdi_init(void)
{ {
int retval;
if (vendor > 0 && product > 0) { if (vendor > 0 && product > 0) {
/* Add user specified VID/PID to reserved element of table. */ /* Add user specified VID/PID to reserved element of table. */
int i; int i;
...@@ -2430,11 +2424,7 @@ static int __init ftdi_init(void) ...@@ -2430,11 +2424,7 @@ static int __init ftdi_init(void)
id_table_combined[i].idVendor = vendor; id_table_combined[i].idVendor = vendor;
id_table_combined[i].idProduct = product; id_table_combined[i].idProduct = product;
} }
retval = usb_serial_register_drivers(serial_drivers, KBUILD_MODNAME, id_table_combined); return usb_serial_register_drivers(serial_drivers, KBUILD_MODNAME, id_table_combined);
if (retval == 0)
printk(KERN_INFO KBUILD_MODNAME ": " DRIVER_VERSION ":"
DRIVER_DESC "\n");
return retval;
} }
static void __exit ftdi_exit(void) static void __exit ftdi_exit(void)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment