]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - drivers/watchdog/alim1535_wdt.c
[WATCHDOG] Coding style - Indentation - part 2
[mv-sheeva.git] / drivers / watchdog / alim1535_wdt.c
index 80e323ddc4baa0a71b9331efcdf3c7d79d5d1516..dfa11d19043ade28eaaec2d40b09087773478d32 100644 (file)
@@ -195,9 +195,6 @@ static long ali_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
        case WDIOC_GETSTATUS:
        case WDIOC_GETBOOTSTATUS:
                return put_user(0, p);
-       case WDIOC_KEEPALIVE:
-               ali_keepalive();
-               return 0;
        case WDIOC_SETOPTIONS:
        {
                int new_options, retval = -EINVAL;
@@ -214,6 +211,9 @@ static long ali_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
                }
                return retval;
        }
+       case WDIOC_KEEPALIVE:
+               ali_keepalive();
+               return 0;
        case WDIOC_SETTIMEOUT:
        {
                int new_timeout;