]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/watchdog/txx9wdt.c
[WATCHDOG] Coding style - Indentation - part 2
[linux-2.6-omap-h63xx.git] / drivers / watchdog / txx9wdt.c
index b729cc447df3ecae10f4b066e56f92f779ace0d2..8382f9a9534bf2f1667b87d1f99867e330009c15 100644 (file)
@@ -142,8 +142,6 @@ static long txx9wdt_ioctl(struct file *file, unsigned int cmd,
        };
 
        switch (cmd) {
-       default:
-               return -ENOTTY;
        case WDIOC_GETSUPPORT:
                return copy_to_user(argp, &ident, sizeof(ident)) ? -EFAULT : 0;
        case WDIOC_GETSTATUS:
@@ -163,6 +161,8 @@ static long txx9wdt_ioctl(struct file *file, unsigned int cmd,
                /* Fall */
        case WDIOC_GETTIMEOUT:
                return put_user(timeout, p);
+       default:
+               return -ENOTTY;
        }
 }