aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial/whiteheat.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/serial/whiteheat.c')
-rw-r--r--drivers/usb/serial/whiteheat.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/usb/serial/whiteheat.c b/drivers/usb/serial/whiteheat.c
index 11c8b97a5177..39f7f8d291d6 100644
--- a/drivers/usb/serial/whiteheat.c
+++ b/drivers/usb/serial/whiteheat.c
@@ -452,8 +452,9 @@ static int whiteheat_attach(struct usb_serial *serial)
452 452
453 hw_info = (struct whiteheat_hw_info *)&result[1]; 453 hw_info = (struct whiteheat_hw_info *)&result[1];
454 454
455 info("%s: Driver %s: Firmware v%d.%02d", serial->type->description, 455 dev_info(&serial->dev->dev, "%s: Driver %s: Firmware v%d.%02d\n",
456 DRIVER_VERSION, hw_info->sw_major_rev, hw_info->sw_minor_rev); 456 serial->type->description, DRIVER_VERSION,
457 hw_info->sw_major_rev, hw_info->sw_minor_rev);
457 458
458 for (i = 0; i < serial->num_ports; i++) { 459 for (i = 0; i < serial->num_ports; i++) {
459 port = serial->port[i]; 460 port = serial->port[i];
@@ -1556,7 +1557,8 @@ static int __init whiteheat_init(void)
1556 retval = usb_register(&whiteheat_driver); 1557 retval = usb_register(&whiteheat_driver);
1557 if (retval) 1558 if (retval)
1558 goto failed_usb_register; 1559 goto failed_usb_register;
1559 info(DRIVER_DESC " " DRIVER_VERSION); 1560 printk(KERN_INFO KBUILD_MODNAME ": " DRIVER_VERSION ":"
1561 DRIVER_DESC "\n");
1560 return 0; 1562 return 0;
1561failed_usb_register: 1563failed_usb_register:
1562 usb_serial_deregister(&whiteheat_device); 1564 usb_serial_deregister(&whiteheat_device);