Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0a4e836a authored by Linus Torvalds's avatar Linus Torvalds
Browse files
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
parents 34acae3c 0cb1c3e8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
	}