aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/serial')
-rw-r--r--drivers/usb/serial/safe_serial.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/drivers/usb/serial/safe_serial.c b/drivers/usb/serial/safe_serial.c
index e3457e2d2c0d..c949ce6ef0c6 100644
--- a/drivers/usb/serial/safe_serial.c
+++ b/drivers/usb/serial/safe_serial.c
@@ -62,6 +62,7 @@
62 * 62 *
63 */ 63 */
64 64
65#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
65 66
66#include <linux/kernel.h> 67#include <linux/kernel.h>
67#include <linux/errno.h> 68#include <linux/errno.h>
@@ -84,7 +85,6 @@
84static bool safe = 1; 85static bool safe = 1;
85static bool padded = CONFIG_USB_SERIAL_SAFE_PADDED; 86static bool padded = CONFIG_USB_SERIAL_SAFE_PADDED;
86 87
87#define DRIVER_VERSION "v0.1"
88#define DRIVER_AUTHOR "sl@lineo.com, tbr@lineo.com, Johan Hovold <jhovold@gmail.com>" 88#define DRIVER_AUTHOR "sl@lineo.com, tbr@lineo.com, Johan Hovold <jhovold@gmail.com>"
89#define DRIVER_DESC "USB Safe Encapsulated Serial" 89#define DRIVER_DESC "USB Safe Encapsulated Serial"
90 90
@@ -311,13 +311,9 @@ static int __init safe_init(void)
311{ 311{
312 int i; 312 int i;
313 313
314 printk(KERN_INFO KBUILD_MODNAME ": " DRIVER_VERSION ":"
315 DRIVER_DESC "\n");
316
317 /* if we have vendor / product parameters patch them into id list */ 314 /* if we have vendor / product parameters patch them into id list */
318 if (vendor || product) { 315 if (vendor || product) {
319 printk(KERN_INFO KBUILD_MODNAME ": vendor: %x product: %x\n", 316 pr_info("vendor: %x product: %x\n", vendor, product);
320 vendor, product);
321 317
322 for (i = 0; i < ARRAY_SIZE(id_table); i++) { 318 for (i = 0; i < ARRAY_SIZE(id_table); i++) {
323 if (!id_table[i].idVendor && !id_table[i].idProduct) { 319 if (!id_table[i].idVendor && !id_table[i].idProduct) {