summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2014-02-21 14:34:26 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2014-02-21 14:34:26 -0800
commit0a4e836a60c786a46bc5691c2aaf30da0a317651 (patch)
tree99d1bea2100f8ae2f23e9c54d1900c1e647abdb4
parent34acae3ce3472f6365d5724252f82032bbc06d63 (diff)
parent0cb1c3e853e0d0f996f4e11863407bf31e6b7343 (diff)
Merge git://www.linux-watchdog.org/linux-watchdog
Pull watchdog fix from Wim Van Sebroeck: "It corrects the error code when no device was found for w83697hf_wdt" * git://www.linux-watchdog.org/linux-watchdog: watchdog: w83697hf_wdt: return ENODEV if no device was found
-rw-r--r--drivers/watchdog/w83697hf_wdt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/watchdog/w83697hf_wdt.c b/drivers/watchdog/w83697hf_wdt.c
index aaf2995d37f4..68b45fc9ba6a 100644
--- 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 = -EIO;
+ ret = -ENODEV;
goto out;
}