Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Linus Torvalds committed Feb 21, 2014
2 parents 34acae3 + 0cb1c3e commit 0a4e836
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/watchdog/w83697hf_wdt.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 0a4e836

Please sign in to comment.