Commit 17a882fc authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

[PATCH] USB Serial: remove driver version from a few drivers

These numbers are pointless, as they have not been changed in _years_,
so we should just remove them to stop pretending there is an actual
"version number" for these drivers.

This should also help reduce confusion when people try to ask for
support of a specific driver version, as there has been no way to tell
what they are talking about.
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 269bda1c
...@@ -34,7 +34,6 @@ ...@@ -34,7 +34,6 @@
/* /*
* Version Information * Version Information
*/ */
#define DRIVER_VERSION "v0.12"
#define DRIVER_DESC "Prolific PL2303 USB to serial adaptor driver" #define DRIVER_DESC "Prolific PL2303 USB to serial adaptor driver"
static int debug; static int debug;
...@@ -1176,7 +1175,7 @@ static int __init pl2303_init (void) ...@@ -1176,7 +1175,7 @@ static int __init pl2303_init (void)
retval = usb_register(&pl2303_driver); retval = usb_register(&pl2303_driver);
if (retval) if (retval)
goto failed_usb_register; goto failed_usb_register;
info(DRIVER_DESC " " DRIVER_VERSION); info(DRIVER_DESC);
return 0; return 0;
failed_usb_register: failed_usb_register:
usb_serial_deregister(&pl2303_device); usb_serial_deregister(&pl2303_device);
...@@ -1196,7 +1195,6 @@ module_init(pl2303_init); ...@@ -1196,7 +1195,6 @@ module_init(pl2303_init);
module_exit(pl2303_exit); module_exit(pl2303_exit);
MODULE_DESCRIPTION(DRIVER_DESC); MODULE_DESCRIPTION(DRIVER_DESC);
MODULE_VERSION(DRIVER_VERSION);
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
module_param(debug, bool, S_IRUGO | S_IWUSR); module_param(debug, bool, S_IRUGO | S_IWUSR);
......
...@@ -37,7 +37,6 @@ ...@@ -37,7 +37,6 @@
/* /*
* Version Information * Version Information
*/ */
#define DRIVER_VERSION "v2.0"
#define DRIVER_AUTHOR "Greg Kroah-Hartman, greg@kroah.com, http://www.kroah.com/linux/" #define DRIVER_AUTHOR "Greg Kroah-Hartman, greg@kroah.com, http://www.kroah.com/linux/"
#define DRIVER_DESC "USB Serial Driver core" #define DRIVER_DESC "USB Serial Driver core"
...@@ -406,7 +405,7 @@ static int serial_read_proc (char *page, char **start, off_t off, int count, int ...@@ -406,7 +405,7 @@ static int serial_read_proc (char *page, char **start, off_t off, int count, int
char tmp[40]; char tmp[40];
dbg("%s", __FUNCTION__); dbg("%s", __FUNCTION__);
length += sprintf (page, "usbserinfo:1.0 driver:%s\n", DRIVER_VERSION); length += sprintf (page, "usbserinfo:1.0 driver:2.0\n");
for (i = 0; i < SERIAL_TTY_MINORS && length < PAGE_SIZE; ++i) { for (i = 0; i < SERIAL_TTY_MINORS && length < PAGE_SIZE; ++i) {
serial = usb_serial_get_by_index(i); serial = usb_serial_get_by_index(i);
if (serial == NULL) if (serial == NULL)
...@@ -1025,7 +1024,7 @@ static int __init usb_serial_init(void) ...@@ -1025,7 +1024,7 @@ static int __init usb_serial_init(void)
goto exit_generic; goto exit_generic;
} }
info(DRIVER_DESC " " DRIVER_VERSION); info(DRIVER_DESC);
return result; return result;
...@@ -1127,7 +1126,6 @@ EXPORT_SYMBOL_GPL(usb_serial_port_softint); ...@@ -1127,7 +1126,6 @@ EXPORT_SYMBOL_GPL(usb_serial_port_softint);
/* Module information */ /* Module information */
MODULE_AUTHOR( DRIVER_AUTHOR ); MODULE_AUTHOR( DRIVER_AUTHOR );
MODULE_DESCRIPTION( DRIVER_DESC ); MODULE_DESCRIPTION( DRIVER_DESC );
MODULE_VERSION( DRIVER_VERSION );
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
module_param(debug, bool, S_IRUGO | S_IWUSR); module_param(debug, bool, S_IRUGO | S_IWUSR);
......
...@@ -32,7 +32,6 @@ ...@@ -32,7 +32,6 @@
/* /*
* Version Information * Version Information
*/ */
#define DRIVER_VERSION "v2.1"
#define DRIVER_AUTHOR "Greg Kroah-Hartman <greg@kroah.com>" #define DRIVER_AUTHOR "Greg Kroah-Hartman <greg@kroah.com>"
#define DRIVER_DESC "USB HandSpring Visor / Palm OS driver" #define DRIVER_DESC "USB HandSpring Visor / Palm OS driver"
...@@ -1002,7 +1001,7 @@ static int __init visor_init (void) ...@@ -1002,7 +1001,7 @@ static int __init visor_init (void)
retval = usb_register(&visor_driver); retval = usb_register(&visor_driver);
if (retval) if (retval)
goto failed_usb_register; goto failed_usb_register;
info(DRIVER_DESC " " DRIVER_VERSION); info(DRIVER_DESC);
return 0; return 0;
failed_usb_register: failed_usb_register:
......
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