diff options
-rw-r--r-- | drivers/usb/serial/usb-serial.c | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/drivers/usb/serial/usb-serial.c b/drivers/usb/serial/usb-serial.c index 001185dd127c..011c520b8e77 100644 --- a/drivers/usb/serial/usb-serial.c +++ b/drivers/usb/serial/usb-serial.c | |||
@@ -39,10 +39,7 @@ | |||
39 | #include <linux/kfifo.h> | 39 | #include <linux/kfifo.h> |
40 | #include "pl2303.h" | 40 | #include "pl2303.h" |
41 | 41 | ||
42 | /* | 42 | #define DRIVER_AUTHOR "Greg Kroah-Hartman <gregkh@linuxfoundation.org>" |
43 | * Version Information | ||
44 | */ | ||
45 | #define DRIVER_AUTHOR "Greg Kroah-Hartman, greg@kroah.com, http://www.kroah.com/linux/" | ||
46 | #define DRIVER_DESC "USB Serial Driver core" | 43 | #define DRIVER_DESC "USB Serial Driver core" |
47 | 44 | ||
48 | /* There is no MODULE_DEVICE_TABLE for usbserial.c. Instead | 45 | /* There is no MODULE_DEVICE_TABLE for usbserial.c. Instead |
@@ -1264,8 +1261,6 @@ static int __init usb_serial_init(void) | |||
1264 | goto exit_generic; | 1261 | goto exit_generic; |
1265 | } | 1262 | } |
1266 | 1263 | ||
1267 | printk(KERN_INFO KBUILD_MODNAME ": " DRIVER_DESC "\n"); | ||
1268 | |||
1269 | return result; | 1264 | return result; |
1270 | 1265 | ||
1271 | exit_generic: | 1266 | exit_generic: |
@@ -1350,8 +1345,7 @@ static int usb_serial_register(struct usb_serial_driver *driver) | |||
1350 | pr_err("problem %d when registering driver %s\n", retval, driver->description); | 1345 | pr_err("problem %d when registering driver %s\n", retval, driver->description); |
1351 | list_del(&driver->driver_list); | 1346 | list_del(&driver->driver_list); |
1352 | } else | 1347 | } else |
1353 | printk(KERN_INFO "USB Serial support registered for %s\n", | 1348 | pr_info("USB Serial support registered for %s\n", driver->description); |
1354 | driver->description); | ||
1355 | 1349 | ||
1356 | mutex_unlock(&table_lock); | 1350 | mutex_unlock(&table_lock); |
1357 | return retval; | 1351 | return retval; |
@@ -1359,8 +1353,7 @@ static int usb_serial_register(struct usb_serial_driver *driver) | |||
1359 | 1353 | ||
1360 | static void usb_serial_deregister(struct usb_serial_driver *device) | 1354 | static void usb_serial_deregister(struct usb_serial_driver *device) |
1361 | { | 1355 | { |
1362 | printk(KERN_INFO "USB Serial deregistering driver %s\n", | 1356 | pr_info("USB Serial deregistering driver %s\n", device->description); |
1363 | device->description); | ||
1364 | mutex_lock(&table_lock); | 1357 | mutex_lock(&table_lock); |
1365 | list_del(&device->driver_list); | 1358 | list_del(&device->driver_list); |
1366 | usb_serial_bus_deregister(device); | 1359 | usb_serial_bus_deregister(device); |