]> err.no Git - linux-2.6/blobdiff - drivers/watchdog/hpwdt.c
[WATCHDOG] more coding style clean-up's
[linux-2.6] / drivers / watchdog / hpwdt.c
index 7ea8f3e844f39e23bb376f10d5e30544e1f1a02c..d039d5f2fd1c480ee9cd9ae94b2c353cbe3b1e57 100644 (file)
@@ -405,7 +405,7 @@ static int __devinit detect_cru_service(void)
        dmi_walk(dmi_find_cru);
 
        /* if cru_rom_addr has been set then we found a CRU service */
-       return ((cru_rom_addr != NULL)? 0: -ENODEV);
+       return ((cru_rom_addr != NULL) ? 0: -ENODEV);
 }
 
 /* ------------------------------------------------------------------------- */
@@ -533,7 +533,7 @@ static ssize_t hpwdt_write(struct file *file, const char __user *data,
                        /* scan to see whether or not we got the magic char. */
                        for (i = 0; i != len; i++) {
                                char c;
-                               if (get_user(c, data+i))
+                               if (get_user(c, data + i))
                                        return -EFAULT;
                                if (c == 'V')
                                        expect_release = 42;