Commit c95777a4 authored by Rob Ward's avatar Rob Ward Committed by Brian Norris

mtd: phram: Fix whitespace issues

Fix various whitespace issues.

No functional changes.
Signed-off-by: default avatarRob Ward <robert.ward114@googlemail.com>
Signed-off-by: default avatarBrian Norris <computersforpeace@gmail.com>
parent a41595b3
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment