-
- Downloads
[MIPS] Pb1550 code style cleanup
Fix a few errors and warnings given by checkpatch.pl: - macros with complex values not enclosed in parentheses; - 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 with the matching macros; - properly indent the code and the array initializers; - insert spaces between operator and its operands, also remove excess spaces there; - 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; - remove excess tabs after the macro name in the #define directives; - fix typos/errors, capitalize acronyms, etc. in the comments; - make the multi-line comment style consistent with the kernel style elsewhere by adding empty first line; - 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/pb1550/Makefile 3 additions, 4 deletionsarch/mips/au1000/pb1550/Makefile
- arch/mips/au1000/pb1550/board_setup.c 8 additions, 8 deletionsarch/mips/au1000/pb1550/board_setup.c
- arch/mips/au1000/pb1550/init.c 9 additions, 11 deletionsarch/mips/au1000/pb1550/init.c
- arch/mips/au1000/pb1550/irqmap.c 3 additions, 3 deletionsarch/mips/au1000/pb1550/irqmap.c
- include/asm-mips/mach-pb1x00/pb1550.h 26 additions, 25 deletionsinclude/asm-mips/mach-pb1x00/pb1550.h
Loading
Please register or sign in to comment