]> err.no Git - linux-2.6/blobdiff - drivers/watchdog/s3c2410_wdt.c
[WATCHDOG] Coding style - Indentation - part 2
[linux-2.6] / drivers / watchdog / s3c2410_wdt.c
index 97b4a2e8eb09a62db3e5fa0eae184952be4e76b3..44bf5e4282e1e089ae7ba486c67e52b1e1d62a7e 100644 (file)
@@ -305,8 +305,6 @@ static long s3c2410wdt_ioctl(struct file *file,     unsigned int cmd,
        int new_margin;
 
        switch (cmd) {
-       default:
-               return -ENOTTY;
        case WDIOC_GETSUPPORT:
                return copy_to_user(argp, &s3c2410_wdt_ident,
                        sizeof(s3c2410_wdt_ident)) ? -EFAULT : 0;
@@ -325,6 +323,8 @@ static long s3c2410wdt_ioctl(struct file *file,     unsigned int cmd,
                return put_user(tmr_margin, p);
        case WDIOC_GETTIMEOUT:
                return put_user(tmr_margin, p);
+       default:
+               return -ENOTTY;
        }
 }