]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[MIPS] Pb1100 code style cleanup
authorSergei Shtylyov <sshtylyov@ru.mvista.com>
Wed, 30 Apr 2008 19:26:28 +0000 (23:26 +0400)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 12 May 2008 15:46:54 +0000 (16:46 +0100)
commitbe1c3c1ed13f31ae8f9d5d043d96d2e56b5ee1d5
tree687af4313c327ce05e4864d76d94ecf342c7331c
parent7916c3548e53bffb0545a1d0dc7fde86d79add92
[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>
arch/mips/au1000/pb1100/Makefile
arch/mips/au1000/pb1100/board_setup.c
arch/mips/au1000/pb1100/init.c
arch/mips/au1000/pb1100/irqmap.c
include/asm-mips/mach-pb1x00/pb1100.h