From: Jean Delvare Date: Sat, 21 Feb 2009 11:00:20 +0000 (+0100) Subject: hwmon: (f71882fg) Hide misleading error message X-Git-Tag: v2.6.28.8~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0373f108ad756a1bf8d4c92de903f639d9125198;p=thirdparty%2Fkernel%2Fstable.git hwmon: (f71882fg) Hide misleading error message commit 603eaa1bdd3e0402085e815cc531bb0a32827a9e upstream If the F71882FG chip is at address 0x4e, then the probe at 0x2e will fail with the following message in the logs: f71882fg: Not a Fintek device This is misleading because there is a Fintek device, just at a different address. So I propose to degrade this message to a debug message. Signed-off-by: Jean Delvare Acked-by: Hans de Goede --- diff --git a/drivers/hwmon/f71882fg.c b/drivers/hwmon/f71882fg.c index 67067e9a323ed..71556e6484b21 100644 --- a/drivers/hwmon/f71882fg.c +++ b/drivers/hwmon/f71882fg.c @@ -837,7 +837,7 @@ static int __init f71882fg_find(int sioaddr, unsigned short *address) devid = superio_inw(sioaddr, SIO_REG_MANID); if (devid != SIO_FINTEK_ID) { - printk(KERN_INFO DRVNAME ": Not a Fintek device\n"); + pr_debug(DRVNAME ": Not a Fintek device\n"); goto exit; }