Commit c95777a4bb5daca9857157cc18cb7b8d470364aa
Committed by
Brian Norris
1 parent
a41595b34b
Exists in
ti-lsk-linux-4.1.y
and in
10 other branches
mtd: phram: Fix whitespace issues
Fix various whitespace issues. No functional changes. Signed-off-by: Rob Ward <robert.ward114@googlemail.com> Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Showing 1 changed file with 2 additions and 1 deletions Side-by-side Diff
drivers/mtd/devices/phram.c
... | ... | @@ -193,6 +193,7 @@ |
193 | 193 | static inline void kill_final_newline(char *str) |
194 | 194 | { |
195 | 195 | char *newline = strrchr(str, '\n'); |
196 | + | |
196 | 197 | if (newline && !newline[1]) |
197 | 198 | *newline = 0; |
198 | 199 | } |
... | ... | @@ -231,7 +232,7 @@ |
231 | 232 | strcpy(str, val); |
232 | 233 | kill_final_newline(str); |
233 | 234 | |
234 | - for (i=0; i<3; i++) | |
235 | + for (i = 0; i < 3; i++) | |
235 | 236 | token[i] = strsep(&str, ","); |
236 | 237 | |
237 | 238 | if (str) |