Input: inport, logibm - use KERN_INFO when reporting missing mouse
authorHelge Deller <deller@gmx.de>
Fri, 2 Nov 2007 02:19:15 +0000 (22:19 -0400)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 2 Nov 2007 02:19:15 +0000 (22:19 -0400)
Many mouse drivers are often compiled (e.g. in Linux distributions) into the
kernel at the same time just to make sure that at least one driver will suceed
in find it's mouse device. Nevertheless, only the inport and logitech busmouse
mouse drivers report with KERN_ERR log level if the mouse wasn't found. They
should use KERN_INFO instead, because it's not an error if the mouse isn't
attached at all.

Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/mouse/inport.c
drivers/input/mouse/logibm.c

index 655a392174322605a37cf6d2fda29f3cf02c1d32..26ec09529b515fce59a3324f8310b2c64c6a9b62 100644 (file)
@@ -144,7 +144,7 @@ static int __init inport_init(void)
        b = inb(INPORT_SIGNATURE_PORT);
        c = inb(INPORT_SIGNATURE_PORT);
        if (a == b || a != c) {
-               printk(KERN_ERR "inport.c: Didn't find InPort mouse at %#x\n", INPORT_BASE);
+               printk(KERN_INFO "inport.c: Didn't find InPort mouse at %#x\n", INPORT_BASE);
                err = -ENODEV;
                goto err_release_region;
        }
index b23a4f3ea5cdcf48d5e09cf789ba610940a3f68f..37e7c75b43bd969a13f6c2bf4d47e2df12827fc6 100644 (file)
@@ -134,7 +134,7 @@ static int __init logibm_init(void)
        udelay(100);
 
        if (inb(LOGIBM_SIGNATURE_PORT) != LOGIBM_SIGNATURE_BYTE) {
-               printk(KERN_ERR "logibm.c: Didn't find Logitech busmouse at %#x\n", LOGIBM_BASE);
+               printk(KERN_INFO "logibm.c: Didn't find Logitech busmouse at %#x\n", LOGIBM_BASE);
                err = -ENODEV;
                goto err_release_region;
        }