From: Jean Delvare Date: Sun, 27 May 2007 20:17:43 +0000 (+0200) Subject: hwmon/w83627hf: Be quiet when no chip is found X-Git-Tag: v2.6.22-rc4~98^2~3 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e142e2a30787e9fa1bf0f66aa1d01727ce718cc7;p=linux-2.6 hwmon/w83627hf: Be quiet when no chip is found Signed-off-by: Jean Delvare --- diff --git a/drivers/hwmon/w83627hf.c b/drivers/hwmon/w83627hf.c index a5b774b07c..12cb40a975 100644 --- a/drivers/hwmon/w83627hf.c +++ b/drivers/hwmon/w83627hf.c @@ -965,8 +965,10 @@ static int __init w83627hf_find(int sioaddr, unsigned short *addr, case W687THF_DEVID: sio_data->type = w83687thf; break; + case 0xff: /* No device at all */ + goto exit; default: - pr_debug(DRVNAME ": Unsupported chip (DEVID=0x%x)\n", val); + pr_debug(DRVNAME ": Unsupported chip (DEVID=0x%02x)\n", val); goto exit; }