Skip to content

Commit

Permalink
hwmon: (f71882fg) Hide misleading error message
Browse files Browse the repository at this point in the history
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 <khali@linux-fr.org>
Acked-by: Hans de Goede <hdegoede@redhat.com>
  • Loading branch information
Jean Delvare committed Feb 17, 2009
1 parent d2f8d7e commit 603eaa1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/hwmon/f71882fg.c
Original file line number Diff line number Diff line change
Expand Up @@ -1872,7 +1872,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;
}

Expand Down

0 comments on commit 603eaa1

Please sign in to comment.