diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2005-06-21 00:15:16 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2005-10-28 19:47:48 -0400 |
commit | 17a882fc0c91477b2582a6dfd4ca93ae7eb58cd3 (patch) | |
tree | 64b0bead1565c9f41b1eea69e9bcbfad997459ad /drivers/usb | |
parent | 269bda1c123c7caf88e1deb2264f9086f0344192 (diff) |
[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: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/serial/pl2303.c | 4 | ||||
-rw-r--r-- | drivers/usb/serial/usb-serial.c | 6 | ||||
-rw-r--r-- | drivers/usb/serial/visor.c | 3 |
3 files changed, 4 insertions, 9 deletions
diff --git a/drivers/usb/serial/pl2303.c b/drivers/usb/serial/pl2303.c index f8f4e93e8c0b..165c119bf10e 100644 --- a/drivers/usb/serial/pl2303.c +++ b/drivers/usb/serial/pl2303.c | |||
@@ -34,7 +34,6 @@ | |||
34 | /* | 34 | /* |
35 | * Version Information | 35 | * Version Information |
36 | */ | 36 | */ |
37 | #define DRIVER_VERSION "v0.12" | ||
38 | #define DRIVER_DESC "Prolific PL2303 USB to serial adaptor driver" | 37 | #define DRIVER_DESC "Prolific PL2303 USB to serial adaptor driver" |
39 | 38 | ||
40 | static int debug; | 39 | static int debug; |
@@ -1176,7 +1175,7 @@ static int __init pl2303_init (void) | |||
1176 | retval = usb_register(&pl2303_driver); | 1175 | retval = usb_register(&pl2303_driver); |
1177 | if (retval) | 1176 | if (retval) |
1178 | goto failed_usb_register; | 1177 | goto failed_usb_register; |
1179 | info(DRIVER_DESC " " DRIVER_VERSION); | 1178 | info(DRIVER_DESC); |
1180 | return 0; | 1179 | return 0; |
1181 | failed_usb_register: | 1180 | failed_usb_register: |
1182 | usb_serial_deregister(&pl2303_device); | 1181 | usb_serial_deregister(&pl2303_device); |
@@ -1196,7 +1195,6 @@ module_init(pl2303_init); | |||
1196 | module_exit(pl2303_exit); | 1195 | module_exit(pl2303_exit); |
1197 | 1196 | ||
1198 | MODULE_DESCRIPTION(DRIVER_DESC); | 1197 | MODULE_DESCRIPTION(DRIVER_DESC); |
1199 | MODULE_VERSION(DRIVER_VERSION); | ||
1200 | MODULE_LICENSE("GPL"); | 1198 | MODULE_LICENSE("GPL"); |
1201 | 1199 | ||
1202 | module_param(debug, bool, S_IRUGO | S_IWUSR); | 1200 | module_param(debug, bool, S_IRUGO | S_IWUSR); |
diff --git a/drivers/usb/serial/usb-serial.c b/drivers/usb/serial/usb-serial.c index 13f6592be685..0c4881d18cd5 100644 --- a/drivers/usb/serial/usb-serial.c +++ b/drivers/usb/serial/usb-serial.c | |||
@@ -37,7 +37,6 @@ | |||
37 | /* | 37 | /* |
38 | * Version Information | 38 | * Version Information |
39 | */ | 39 | */ |
40 | #define DRIVER_VERSION "v2.0" | ||
41 | #define DRIVER_AUTHOR "Greg Kroah-Hartman, greg@kroah.com, http://www.kroah.com/linux/" | 40 | #define DRIVER_AUTHOR "Greg Kroah-Hartman, greg@kroah.com, http://www.kroah.com/linux/" |
42 | #define DRIVER_DESC "USB Serial Driver core" | 41 | #define DRIVER_DESC "USB Serial Driver core" |
43 | 42 | ||
@@ -406,7 +405,7 @@ static int serial_read_proc (char *page, char **start, off_t off, int count, int | |||
406 | char tmp[40]; | 405 | char tmp[40]; |
407 | 406 | ||
408 | dbg("%s", __FUNCTION__); | 407 | dbg("%s", __FUNCTION__); |
409 | length += sprintf (page, "usbserinfo:1.0 driver:%s\n", DRIVER_VERSION); | 408 | length += sprintf (page, "usbserinfo:1.0 driver:2.0\n"); |
410 | for (i = 0; i < SERIAL_TTY_MINORS && length < PAGE_SIZE; ++i) { | 409 | for (i = 0; i < SERIAL_TTY_MINORS && length < PAGE_SIZE; ++i) { |
411 | serial = usb_serial_get_by_index(i); | 410 | serial = usb_serial_get_by_index(i); |
412 | if (serial == NULL) | 411 | if (serial == NULL) |
@@ -1025,7 +1024,7 @@ static int __init usb_serial_init(void) | |||
1025 | goto exit_generic; | 1024 | goto exit_generic; |
1026 | } | 1025 | } |
1027 | 1026 | ||
1028 | info(DRIVER_DESC " " DRIVER_VERSION); | 1027 | info(DRIVER_DESC); |
1029 | 1028 | ||
1030 | return result; | 1029 | return result; |
1031 | 1030 | ||
@@ -1127,7 +1126,6 @@ EXPORT_SYMBOL_GPL(usb_serial_port_softint); | |||
1127 | /* Module information */ | 1126 | /* Module information */ |
1128 | MODULE_AUTHOR( DRIVER_AUTHOR ); | 1127 | MODULE_AUTHOR( DRIVER_AUTHOR ); |
1129 | MODULE_DESCRIPTION( DRIVER_DESC ); | 1128 | MODULE_DESCRIPTION( DRIVER_DESC ); |
1130 | MODULE_VERSION( DRIVER_VERSION ); | ||
1131 | MODULE_LICENSE("GPL"); | 1129 | MODULE_LICENSE("GPL"); |
1132 | 1130 | ||
1133 | module_param(debug, bool, S_IRUGO | S_IWUSR); | 1131 | module_param(debug, bool, S_IRUGO | S_IWUSR); |
diff --git a/drivers/usb/serial/visor.c b/drivers/usb/serial/visor.c index baa2acb28bd8..a473c1c34559 100644 --- a/drivers/usb/serial/visor.c +++ b/drivers/usb/serial/visor.c | |||
@@ -32,7 +32,6 @@ | |||
32 | /* | 32 | /* |
33 | * Version Information | 33 | * Version Information |
34 | */ | 34 | */ |
35 | #define DRIVER_VERSION "v2.1" | ||
36 | #define DRIVER_AUTHOR "Greg Kroah-Hartman <greg@kroah.com>" | 35 | #define DRIVER_AUTHOR "Greg Kroah-Hartman <greg@kroah.com>" |
37 | #define DRIVER_DESC "USB HandSpring Visor / Palm OS driver" | 36 | #define DRIVER_DESC "USB HandSpring Visor / Palm OS driver" |
38 | 37 | ||
@@ -1002,7 +1001,7 @@ static int __init visor_init (void) | |||
1002 | retval = usb_register(&visor_driver); | 1001 | retval = usb_register(&visor_driver); |
1003 | if (retval) | 1002 | if (retval) |
1004 | goto failed_usb_register; | 1003 | goto failed_usb_register; |
1005 | info(DRIVER_DESC " " DRIVER_VERSION); | 1004 | info(DRIVER_DESC); |
1006 | 1005 | ||
1007 | return 0; | 1006 | return 0; |
1008 | failed_usb_register: | 1007 | failed_usb_register: |