[MIPS] Pb1100 code style cleanup
Fix several errors and warnings given by checkpatch.pl: - space between asterisk and variable name; - use of C99 // comments; - using simple_strtol() where strict_strtol() could be used. In addition to these changes, also do the following: - properly indent the code; - remove space after the type cast's closing parenthesis; - replace numeric literals/expressions with the matching macros; - replace spaces after the macro name with tabs in the #define directives, and sometimes insert spaces there; - 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/pb1100/Makefile 3 additions, 3 deletionsarch/mips/au1000/pb1100/Makefile
- arch/mips/au1000/pb1100/board_setup.c 26 additions, 24 deletionsarch/mips/au1000/pb1100/board_setup.c
- arch/mips/au1000/pb1100/init.c 5 additions, 6 deletionsarch/mips/au1000/pb1100/init.c
- arch/mips/au1000/pb1100/irqmap.c 5 additions, 5 deletionsarch/mips/au1000/pb1100/irqmap.c
- include/asm-mips/mach-pb1x00/pb1100.h 48 additions, 48 deletionsinclude/asm-mips/mach-pb1x00/pb1100.h
Loading
Please register or sign in to comment