projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d158fc7
)
watchdog: w83697hf_wdt: return ENODEV if no device was found
author
Stanislav Kholmanskikh
<
[email protected]
>
Mon, 27 Jan 2014 07:04:33 +0000
(11:04 +0400)
committer
Wim Van Sebroeck
<
[email protected]
>
Fri, 21 Feb 2014 19:36:46 +0000
(20:36 +0100)
Most WDT driver modules return ENODEV during modprobe if
no valid device was found, but w83697hf_wdt returns EIO.
Let w83697hf_wdt return ENODEV.
Signed-off-by: Stanislav Kholmanskikh <
[email protected]
>
Reviewed-by: Guenter Roeck <
[email protected]
>
Signed-off-by: Wim Van Sebroeck <
[email protected]
>
drivers/watchdog/w83697hf_wdt.c
patch
|
blob
|
history
diff --git
a/drivers/watchdog/w83697hf_wdt.c
b/drivers/watchdog/w83697hf_wdt.c
index aaf2995d37f4b595d010efa500e89bb1ae5aef5b..68b45fc9ba6a5de684f18128ca337c09e7b3657e 100644
(file)
--- a/
drivers/watchdog/w83697hf_wdt.c
+++ b/
drivers/watchdog/w83697hf_wdt.c
@@
-402,7
+402,7
@@
static int __init wdt_init(void)
if (!found) {
pr_err("No W83697HF/HG could be found\n");
- ret = -E
IO
;
+ ret = -E
NODEV
;
goto out;
}