aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-09-18 12:00:48 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-09-18 12:03:11 -0400
commit7663e3088dcf810435c644f73bd2909362b8dc49 (patch)
tree0715e0d9f2d9c3172f9c2645db5dd439b8a1a360
parentd9bb03dc89c1d63e307cb0bad60b5f6faa16af6f (diff)
USB: serial: ir-usb: remove startup noise
Don't be telling the syslog that the driver was loaded, the majority of the usb-serial drivers do not, so this one shouldn't either. Also remove the pointless driver version information. Cc: Rusty Russell <rusty@rustcorp.com.au> Cc: Johan Hovold <jhovold@gmail.com> Cc: Alan Stern <stern@rowland.harvard.edu> Cc: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/usb/serial/ir-usb.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/drivers/usb/serial/ir-usb.c b/drivers/usb/serial/ir-usb.c
index 7b7319d3a813..4ac3a3a50cfb 100644
--- a/drivers/usb/serial/ir-usb.c
+++ b/drivers/usb/serial/ir-usb.c
@@ -38,10 +38,6 @@
38#include <linux/usb/serial.h> 38#include <linux/usb/serial.h>
39#include <linux/usb/irda.h> 39#include <linux/usb/irda.h>
40 40
41/*
42 * Version Information
43 */
44#define DRIVER_VERSION "v0.5"
45#define DRIVER_AUTHOR "Greg Kroah-Hartman <greg@kroah.com>, Johan Hovold <jhovold@gmail.com>" 41#define DRIVER_AUTHOR "Greg Kroah-Hartman <greg@kroah.com>, Johan Hovold <jhovold@gmail.com>"
46#define DRIVER_DESC "USB IR Dongle driver" 42#define DRIVER_DESC "USB IR Dongle driver"
47 43
@@ -428,18 +424,12 @@ err_buf:
428 424
429static int __init ir_init(void) 425static int __init ir_init(void)
430{ 426{
431 int retval;
432
433 if (buffer_size) { 427 if (buffer_size) {
434 ir_device.bulk_in_size = buffer_size; 428 ir_device.bulk_in_size = buffer_size;
435 ir_device.bulk_out_size = buffer_size; 429 ir_device.bulk_out_size = buffer_size;
436 } 430 }
437 431
438 retval = usb_serial_register_drivers(serial_drivers, KBUILD_MODNAME, ir_id_table); 432 return usb_serial_register_drivers(serial_drivers, KBUILD_MODNAME, ir_id_table);
439 if (retval == 0)
440 printk(KERN_INFO KBUILD_MODNAME ": " DRIVER_VERSION ":"
441 DRIVER_DESC "\n");
442 return retval;
443} 433}
444 434
445static void __exit ir_exit(void) 435static void __exit ir_exit(void)