diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2008-08-18 16:21:04 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-10-17 17:41:09 -0400 |
commit | c197a8db59daf06dc5e77acd5a9681329cb22458 (patch) | |
tree | de233c5994ca98d92de6b97440d39330cbfc6938 /drivers/usb/serial/ipaq.c | |
parent | 46fcaec505d957c87b2f3820314f9e4dc0631777 (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/ipaq.c')
-rw-r--r-- | drivers/usb/serial/ipaq.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/usb/serial/ipaq.c b/drivers/usb/serial/ipaq.c index 2affa9c118b2..5108cbc64a55 100644 --- a/drivers/usb/serial/ipaq.c +++ b/drivers/usb/serial/ipaq.c | |||
@@ -976,7 +976,6 @@ static int __init ipaq_init(void) | |||
976 | retval = usb_serial_register(&ipaq_device); | 976 | retval = usb_serial_register(&ipaq_device); |
977 | if (retval) | 977 | if (retval) |
978 | goto failed_usb_serial_register; | 978 | goto failed_usb_serial_register; |
979 | info(DRIVER_DESC " " DRIVER_VERSION); | ||
980 | if (vendor) { | 979 | if (vendor) { |
981 | ipaq_id_table[0].idVendor = vendor; | 980 | ipaq_id_table[0].idVendor = vendor; |
982 | ipaq_id_table[0].idProduct = product; | 981 | ipaq_id_table[0].idProduct = product; |
@@ -985,6 +984,8 @@ static int __init ipaq_init(void) | |||
985 | if (retval) | 984 | if (retval) |
986 | goto failed_usb_register; | 985 | goto failed_usb_register; |
987 | 986 | ||
987 | printk(KERN_INFO KBUILD_MODNAME ": " DRIVER_VERSION ":" | ||
988 | DRIVER_DESC "\n"); | ||
988 | return 0; | 989 | return 0; |
989 | failed_usb_register: | 990 | failed_usb_register: |
990 | usb_serial_deregister(&ipaq_device); | 991 | usb_serial_deregister(&ipaq_device); |