linux-mainline/arch/mips
Sergei Shtylyov c3d1d5c8c1 [MIPS] Pb1200/DBAu1200 code style cleanup
Fix several errors and warnings given by checkpatch.pl:

- use of C99 // comments;

- initialization of a 'static' variable to 0;

- space after opening and before closing parentheses;

- missing space between 'for' and opening parenthesis;

- 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;

- line over 80 characters.

In addition to these changes, also do the following:

- mention DBAu1200 board in the Makefile;

- replace the group of #include/#ifdef directives by a single
  #include <au1xxx.h> since this header contains the needed stuff;

- properly indent the blocks;

- insert spaces between operator and its operands, remove excess spaces
  there;

- remove needless parentheses and add some for clarity;

- replace numeric literals/expressions with the matching macros;

- remove space after the type cast's closing parenthesis;

- reduce pb1200_setup_cascade() to the single 'return' statement;

- reduce the number of printed empty lines in the so-called CPLD
  workaround;

- remove #undef AU1X00_EXTERNAL_INT since that macro is not defined
  anywhere;

- replace spaces after the macro name with tabs in the #define directives;

- remove excess tabs after the macro name in the #define directives;

- fix typo in the BCSR_RESETS_PWMR1mUX macro's name;

- group all Pb1200 PCMCIA definitions together;

- put the function's result type and name/parameters on the same line;

- insert missing and remove excess new lines;

- make the multi-line comment style consistent with the kernel style
  elsewhere by adding empty first line and/or adding space/asterisk on
  their left side;

- fix typos/errors, capitalize acronyms, etc. in the comments;

- combine some 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>
2008-05-12 16:46:55 +01:00
..
au1000 [MIPS] Pb1200/DBAu1200 code style cleanup 2008-05-12 16:46:55 +01:00
basler/excite proc: switch /proc/excite/unit_id to seq_file interface 2008-04-29 08:06:19 -07:00
bcm47xx
boot
cobalt
configs
dec
emma2rh
fw
gt64120/wrppmc
jazz
jmr3927
kernel [MIPS] Add empty argument parenthesis to GCC_IMM_ASM 2008-05-12 16:46:52 +01:00
lasat
lemote/lm2e
lib
math-emu
mips-boards
mipssim
mm [MIPS] unexport __kmap_atomic_to_page 2008-05-12 16:46:51 +01:00
nxp/pnx8550
oprofile
pci [MIPS] Alchemy PCI code style cleanup 2008-05-12 16:46:52 +01:00
pmc-sierra [MIPS] msp_hwbutton.c: minor irq handler cleanups 2008-05-12 16:46:52 +01:00
sgi-ip22
sgi-ip27 [MIPS] ip27-timer: fix unsigned irq < 0 2008-05-12 16:46:51 +01:00
sgi-ip32
sibyte
sni
tx4927
tx4938
vr41xx
Kconfig
Kconfig.debug
Makefile