mtd: cfi: indent some if statements

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Tue Jun 10 23:59:08 PDT 2014


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=555b8d1259a4d384690c2f2a62e2d84d2a536ed3
Commit:     555b8d1259a4d384690c2f2a62e2d84d2a536ed3
Parent:     66507c7bc8895f0da6b4ad87e96d61a9f7d7a118
Author:     Dan Carpenter <dan.carpenter at oracle.com>
AuthorDate: Wed May 14 17:19:00 2014 +0300
Committer:  Brian Norris <computersforpeace at gmail.com>
CommitDate: Tue May 20 17:36:01 2014 -0700

    mtd: cfi: indent some if statements
    
    The break statements should be indented another tab.
    
    Signed-off-by: Dan Carpenter <dan.carpenter at oracle.com>
    Reviewed-by: Jingoo Han <jg1.han at samsung.com>
    Signed-off-by: Brian Norris <computersforpeace at gmail.com>
---
 drivers/mtd/chips/cfi_cmdset_0020.c | 4 ++--
 drivers/mtd/chips/cfi_util.c        | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/mtd/chips/cfi_cmdset_0020.c b/drivers/mtd/chips/cfi_cmdset_0020.c
index 6293855..423666b 100644
--- a/drivers/mtd/chips/cfi_cmdset_0020.c
+++ b/drivers/mtd/chips/cfi_cmdset_0020.c
@@ -961,7 +961,7 @@ static int cfi_staa_erase_varsize(struct mtd_info *mtd,
 			chipnum++;
 
 			if (chipnum >= cfi->numchips)
-			break;
+				break;
 		}
 	}
 
@@ -1170,7 +1170,7 @@ static int cfi_staa_lock(struct mtd_info *mtd, loff_t ofs, uint64_t len)
 			chipnum++;
 
 			if (chipnum >= cfi->numchips)
-			break;
+				break;
 		}
 	}
 	return 0;
diff --git a/drivers/mtd/chips/cfi_util.c b/drivers/mtd/chips/cfi_util.c
index 08049f6..09c79bd 100644
--- a/drivers/mtd/chips/cfi_util.c
+++ b/drivers/mtd/chips/cfi_util.c
@@ -239,7 +239,7 @@ int cfi_varsize_frob(struct mtd_info *mtd, varsize_frob_t frob,
 			chipnum++;
 
 			if (chipnum >= cfi->numchips)
-			break;
+				break;
 		}
 	}
 



More information about the linux-mtd-cvs mailing list