Staging: rts5208: Fix code indentation warning as detected by checkpatch.pl
authorYash Shah <yshah1@visteon.com>
Mon, 3 Aug 2015 11:18:31 +0000 (11:18 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 4 Aug 2015 00:54:04 +0000 (17:54 -0700)
Fixed code indentation warning as detected by checkpatch.pl.

Signed-off-by: Yash Shah <yshah1@visteon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rts5208/ms.c
drivers/staging/rts5208/sd.c

index ee818b0dc4011f7aab19db049e7fb6f82958f197..cdaa1aba50edeb1b428e83069b1565fa7e523d82 100644 (file)
@@ -1121,11 +1121,10 @@ static int ms_read_attribute_info(struct rtsx_chip *chip)
 
 #ifdef SUPPORT_MSXC
                if ((buf[cur_addr_off + 8] == 0x10) ||
-                       (buf[cur_addr_off + 8] == 0x13))
+                       (buf[cur_addr_off + 8] == 0x13)) {
 #else
-               if (buf[cur_addr_off + 8] == 0x10)
+               if (buf[cur_addr_off + 8] == 0x10) {
 #endif
-               {
                        sys_info_addr = ((u32)buf[cur_addr_off + 0] << 24) |
                                ((u32)buf[cur_addr_off + 1] << 16) |
                                ((u32)buf[cur_addr_off + 2] << 8) |
index cb4157960fad6a205d57930ef5d22729ecc3b260..d6c498209b2c6a4020a864a3b2e752881d4db1f1 100644 (file)
@@ -246,11 +246,10 @@ RTY_SEND_CMD:
                                }
                        }
 #ifdef SUPPORT_SD_LOCK
-                       if (ptr[1] & 0x7D)
+                       if (ptr[1] & 0x7D) {
 #else
-                       if (ptr[1] & 0x7F)
+                       if (ptr[1] & 0x7F) {
 #endif
-                       {
                                dev_dbg(rtsx_dev(chip), "ptr[1]: 0x%02x\n",
                                        ptr[1]);
                                rtsx_trace(chip);
@@ -4148,11 +4147,10 @@ RTY_SEND_CMD:
                        }
                }
 #ifdef SUPPORT_SD_LOCK
-               if (ptr[1] & 0x7D)
+               if (ptr[1] & 0x7D) {
 #else
-               if (ptr[1] & 0x7F)
+               if (ptr[1] & 0x7F) {
 #endif
-               {
                        rtsx_trace(chip);
                        return STATUS_FAIL;
                }