]> err.no Git - linux-2.6/blobdiff - drivers/watchdog/ar7_wdt.c
[WATCHDOG] Coding style - Indentation - part 2
[linux-2.6] / drivers / watchdog / ar7_wdt.c
index ef7b0d67095ea8ee053731eb6e66cb9835e6ce19..9a81a205ef7438142674b23913b10e65d14fd6a2 100644 (file)
@@ -251,8 +251,6 @@ static long ar7_wdt_ioctl(struct file *file,
        int new_margin;
 
        switch (cmd) {
-       default:
-               return -ENOTTY;
        case WDIOC_GETSUPPORT:
                if (copy_to_user((struct watchdog_info *)arg, &ident,
                                sizeof(ident)))
@@ -281,6 +279,8 @@ static long ar7_wdt_ioctl(struct file *file,
                if (put_user(margin, (int *)arg))
                        return -EFAULT;
                return 0;
+       default:
+               return -ENOTTY;
        }
 }