]> Pileus Git - ~andy/linux/blobdiff - drivers/watchdog/w83697hf_wdt.c
watchdog: w83697hf_wdt: return ENODEV if no device was found
[~andy/linux] / drivers / watchdog / w83697hf_wdt.c
index aaf2995d37f4b595d010efa500e89bb1ae5aef5b..68b45fc9ba6a5de684f18128ca337c09e7b3657e 100644 (file)
@@ -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;
        }