mtd: phram: Fix whitespace issues
authorRob Ward <robert.ward114@googlemail.com>
Sun, 13 Jul 2014 19:39:01 +0000 (20:39 +0100)
committerBrian Norris <computersforpeace@gmail.com>
Mon, 14 Jul 2014 17:20:19 +0000 (10:20 -0700)
Fix various whitespace issues.

No functional changes.

Signed-off-by: Rob Ward <robert.ward114@googlemail.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/devices/phram.c

index 3bac7dadf8d6f21fc39bbb07e72a7f9636853b79..effd9a4ef7eee55ff6cd8e58f4c35930e86957d0 100644 (file)
@@ -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)