-
- Downloads
[MIPS] Pb1500 code style cleanup
Fix several errors and warnings given by checkpatch.pl: - use of C99 // comments; - printk() without KERN_* facility level; - unnecessary braces for single-statement block; - using simple_strtol() where strict_strtol() could be used. In addition to these changes, also do the following: - replace numeric literals/expressions with the matching macros; - insert spaces between operator and its operands; - properly indent the code and the array initializers; - remove useless #if dirctive from board_setup(); - remove needless parentheses; - remove unneeded type casts; - remove excess new lines; - make hexadecimal literals all lower case; - remove space after the type cast's closing parenthesis; - insert missing space before closing brace in the array initializers; - replace spaces after the macro name with tabs in the #define directives, also sometimes insert space there for better looks; - fix typos/errors, capitalize acronyms, etc. in the comments; - update MontaVista copyright; - remove Pete Popov's old email address... Signed-off-by:Sergei Shtylyov <sshtylyov@ru.mvista.com> Signed-off-by:
Ralf Baechle <ralf@linux-mips.org>
Showing
- arch/mips/au1000/pb1500/Makefile 3 additions, 3 deletionsarch/mips/au1000/pb1500/Makefile
- arch/mips/au1000/pb1500/board_setup.c 21 additions, 25 deletionsarch/mips/au1000/pb1500/board_setup.c
- arch/mips/au1000/pb1500/init.c 9 additions, 11 deletionsarch/mips/au1000/pb1500/init.c
- arch/mips/au1000/pb1500/irqmap.c 3 additions, 3 deletionsarch/mips/au1000/pb1500/irqmap.c
- include/asm-mips/mach-pb1x00/pb1500.h 18 additions, 20 deletionsinclude/asm-mips/mach-pb1x00/pb1500.h
Please register or sign in to comment