aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial/whiteheat.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2008-08-18 16:21:04 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2008-10-17 17:41:09 -0400
commitc197a8db59daf06dc5e77acd5a9681329cb22458 (patch)
treede233c5994ca98d92de6b97440d39330cbfc6938 /drivers/usb/serial/whiteheat.c
parent46fcaec505d957c87b2f3820314f9e4dc0631777 (diff)
USB: remove info() macro from usb/serial drivers
USB should not be having it's own printk macros, so remove info() and use the system-wide standard of dev_info() wherever possible. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
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);