OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67f363b
)
hwmon/w83627hf: Be quiet when no chip is found
author
Jean Delvare
<khali@linux-fr.org>
Sun, 27 May 2007 20:17:43 +0000
(22:17 +0200)
committer
Jean Delvare
<khali@hyperion.delvare>
Sun, 27 May 2007 20:17:43 +0000
(22:17 +0200)
Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/hwmon/w83627hf.c
patch
|
blob
|
history
diff --git
a/drivers/hwmon/w83627hf.c
b/drivers/hwmon/w83627hf.c
index
a5b774b
..
12cb40a
100644
(file)
--- 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%
02
x)\n", val);
goto exit;
}