mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 21:38:32 +08:00
hwmon/w83627hf: Be quiet when no chip is found
Signed-off-by: Jean Delvare <khali@linux-fr.org>
This commit is contained in:
parent
67f363b1f6
commit
e142e2a307
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user