aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/w83627ehf.c
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2007-06-24 05:23:41 -0400
committerMark M. Hoffman <mhoffman@lightlink.com>2007-07-19 14:22:18 -0400
commit9f66036b4f95f5e830d68a3ce90aeece0e0c4bf3 (patch)
tree62f37add46c89dc0d61cdbe9f3dcdd4173767466 /drivers/hwmon/w83627ehf.c
parent7cb7273f8ce9c5790a7b64208172b4203977e0a3 (diff)
hwmon/w83627ehf: Be quiet when no chip is found
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>
Diffstat (limited to 'drivers/hwmon/w83627ehf.c')
-rw-r--r--drivers/hwmon/w83627ehf.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/hwmon/w83627ehf.c b/drivers/hwmon/w83627ehf.c
index d2a26135b313..c51ae2e17758 100644
--- a/drivers/hwmon/w83627ehf.c
+++ b/drivers/hwmon/w83627ehf.c
@@ -1445,8 +1445,9 @@ static int __init w83627ehf_find(int sioaddr, unsigned short *addr,
1445 sio_name = sio_name_W83627DHG; 1445 sio_name = sio_name_W83627DHG;
1446 break; 1446 break;
1447 default: 1447 default:
1448 pr_info(DRVNAME ": unsupported chip ID: 0x%04x\n", 1448 if (val != 0xffff)
1449 val); 1449 pr_debug(DRVNAME ": unsupported chip ID: 0x%04x\n",
1450 val);
1450 superio_exit(sioaddr); 1451 superio_exit(sioaddr);
1451 return -ENODEV; 1452 return -ENODEV;
1452 } 1453 }