]> err.no Git - linux-2.6/blobdiff - drivers/watchdog/iop_wdt.c
[WATCHDOG] Coding style - Indentation - part 2
[linux-2.6] / drivers / watchdog / iop_wdt.c
index e54c888d2afe18bbb6eca01ca80540173fd519d7..e0d0a90ea10c3199aa23a61a854d706d8fc02b80 100644 (file)
@@ -153,15 +153,6 @@ static long iop_wdt_ioctl(struct file *file,
                ret = put_user(boot_status, argp);
                break;
 
-       case WDIOC_GETTIMEOUT:
-               ret = put_user(iop_watchdog_timeout(), argp);
-               break;
-
-       case WDIOC_KEEPALIVE:
-               wdt_enable();
-               ret = 0;
-               break;
-
        case WDIOC_SETOPTIONS:
                if (get_user(options, (int *)arg))
                        return -EFAULT;
@@ -181,6 +172,15 @@ static long iop_wdt_ioctl(struct file *file,
                        ret = 0;
                }
                break;
+
+       case WDIOC_KEEPALIVE:
+               wdt_enable();
+               ret = 0;
+               break;
+
+       case WDIOC_GETTIMEOUT:
+               ret = put_user(iop_watchdog_timeout(), argp);
+               break;
        }
        return ret;
 }