mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
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 <[email protected]> Cc: Johan Hovold <[email protected]> Cc: Alan Stern <[email protected]> Cc: Mauro Carvalho Chehab <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
parent
d9bb03dc89
commit
7663e3088d
1 changed files with 1 additions and 11 deletions
|
|
@ -38,10 +38,6 @@
|
|||
#include <linux/usb/serial.h>
|
||||
#include <linux/usb/irda.h>
|
||||
|
||||
/*
|
||||
* Version Information
|
||||
*/
|
||||
#define DRIVER_VERSION "v0.5"
|
||||
#define DRIVER_AUTHOR "Greg Kroah-Hartman <[email protected]>, Johan Hovold <[email protected]>"
|
||||
#define DRIVER_DESC "USB IR Dongle driver"
|
||||
|
||||
|
|
@ -428,18 +424,12 @@ err_buf:
|
|||
|
||||
static int __init ir_init(void)
|
||||
{
|
||||
int retval;
|
||||
|
||||
if (buffer_size) {
|
||||
ir_device.bulk_in_size = buffer_size;
|
||||
ir_device.bulk_out_size = buffer_size;
|
||||
}
|
||||
|
||||
retval = usb_serial_register_drivers(serial_drivers, KBUILD_MODNAME, ir_id_table);
|
||||
if (retval == 0)
|
||||
printk(KERN_INFO KBUILD_MODNAME ": " DRIVER_VERSION ":"
|
||||
DRIVER_DESC "\n");
|
||||
return retval;
|
||||
return usb_serial_register_drivers(serial_drivers, KBUILD_MODNAME, ir_id_table);
|
||||
}
|
||||
|
||||
static void __exit ir_exit(void)
|
||||
|
|
|
|||
Loading…
Reference in a new issue