mtd: phram: Fix whitespace issues

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Fri Aug 8 09:59:02 PDT 2014


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=c95777a4bb5daca9857157cc18cb7b8d470364aa
Commit:     c95777a4bb5daca9857157cc18cb7b8d470364aa
Parent:     a41595b34ba40fb97345dfef85ea510981a2e17b
Author:     Rob Ward <robert.ward114 at googlemail.com>
AuthorDate: Sun Jul 13 20:39:01 2014 +0100
Committer:  Brian Norris <computersforpeace at gmail.com>
CommitDate: Mon Jul 14 10:20:19 2014 -0700

    mtd: phram: Fix whitespace issues
    
    Fix various whitespace issues.
    
    No functional changes.
    
    Signed-off-by: Rob Ward <robert.ward114 at googlemail.com>
    Signed-off-by: Brian Norris <computersforpeace at gmail.com>
---
 drivers/mtd/devices/phram.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/mtd/devices/phram.c b/drivers/mtd/devices/phram.c
index 3bac7da..effd9a4 100644
--- a/drivers/mtd/devices/phram.c
+++ b/drivers/mtd/devices/phram.c
@@ -193,6 +193,7 @@ static int parse_name(char **pname, const char *token)
 static inline void kill_final_newline(char *str)
 {
 	char *newline = strrchr(str, '\n');
+
 	if (newline && !newline[1])
 		*newline = 0;
 }
@@ -231,7 +232,7 @@ static int phram_setup(const char *val)
 	strcpy(str, val);
 	kill_final_newline(str);
 
-	for (i=0; i<3; i++)
+	for (i = 0; i < 3; i++)
 		token[i] = strsep(&str, ",");
 
 	if (str)



More information about the linux-mtd-cvs mailing list