Commit e142e2a3 authored by Jean Delvare's avatar Jean Delvare Committed by Jean Delvare

hwmon/w83627hf: Be quiet when no chip is found

Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
parent 67f363b1
...@@ -965,8 +965,10 @@ static int __init w83627hf_find(int sioaddr, unsigned short *addr, ...@@ -965,8 +965,10 @@ static int __init w83627hf_find(int sioaddr, unsigned short *addr,
case W687THF_DEVID: case W687THF_DEVID:
sio_data->type = w83687thf; sio_data->type = w83687thf;
break; break;
case 0xff: /* No device at all */
goto exit;
default: default:
pr_debug(DRVNAME ": Unsupported chip (DEVID=0x%x)\n", val); pr_debug(DRVNAME ": Unsupported chip (DEVID=0x%02x)\n", val);
goto exit; goto exit;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment