hwmon/w83627ehf: Be quiet when no chip is found
authorJean Delvare <khali@linux-fr.org>
Sun, 24 Jun 2007 09:23:41 +0000 (11:23 +0200)
committerMark M. Hoffman <mhoffman@lightlink.com>
Thu, 19 Jul 2007 18:22:18 +0000 (14:22 -0400)
This fixes bug #8593:
http://bugzilla.kernel.org/show_bug.cgi?id=8593

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Mark M. Hoffman <mhoffman@lightlink.com>
drivers/hwmon/w83627ehf.c

index d2a26135b3136dae84838171e3e7b21d6f01b06f..c51ae2e17758591236721d5b99be8ce2ffea888c 100644 (file)
@@ -1445,8 +1445,9 @@ static int __init w83627ehf_find(int sioaddr, unsigned short *addr,
                sio_name = sio_name_W83627DHG;
                break;
        default:
-               pr_info(DRVNAME ": unsupported chip ID: 0x%04x\n",
-                       val);
+               if (val != 0xffff)
+                       pr_debug(DRVNAME ": unsupported chip ID: 0x%04x\n",
+                                val);
                superio_exit(sioaddr);
                return -ENODEV;
        }