kernel_optimize_test/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 [MIPS] BCM47XX: Use new SSB SPROM data structure 2008-02-19 17:01:34 +00:00
boot [MIPS] checkfiles: Fix "need space after that ','" errors. 2007-10-11 23:46:15 +01:00
cobalt [MIPS] add cpu_wait() to machine_halt() 2008-01-29 10:15:00 +00:00
configs [MIPS] Allow setting of the cache attribute at run time. 2008-04-28 17:14:25 +01:00
dec [MIPS] DS1287: Add clockevent driver 2008-04-28 17:14:32 +01:00
emma2rh [MIPS] Kill duplicated setup_irq() for cp0 timer 2007-10-19 18:15:58 +01:00
fw [MIPS] RM: Collected changes 2008-01-29 10:14:59 +00:00
gt64120/wrppmc [MIPS] remove unused mips_machtype 2008-01-29 10:14:55 +00:00
jazz [MIPS] Cleanup pcspeaker platform device registration. 2008-01-29 10:14:57 +00:00
jmr3927 [MIPS] jmr3927: use generic txx9 gpio 2008-04-28 17:14:31 +01:00
kernel [MIPS] Add empty argument parenthesis to GCC_IMM_ASM 2008-05-12 16:46:52 +01:00
lasat [MIPS] Lasat: Convert pvc_sem semaphore to mutex 2008-01-29 10:15:01 +00:00
lemote/lm2e [MIPS] Fulong: don't reinitialize pci_probe_only to it's default value. 2008-01-29 10:14:59 +00:00
lib iomap: fix 64 bits resources on 32 bits 2008-04-29 08:06:02 -07:00
math-emu [MIPS] replace __inline with inline 2008-04-28 17:14:26 +01:00
mips-boards [MIPS] malta_int.c: make 4 variables static 2008-04-28 17:14:28 +01:00
mipssim [MIPS] Remove TLB sanitation code 2008-04-28 17:14:25 +01:00
mm [MIPS] unexport __kmap_atomic_to_page 2008-05-12 16:46:51 +01:00
nxp/pnx8550 [MIPS] Move arch/mips/philips to arch/mips/nxp 2008-04-28 17:14:26 +01:00
oprofile [MIPS] unexport null_perf_irq() and make it static 2008-04-28 17:14:31 +01:00
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 [MIPS] IP28 support 2008-01-29 10:14:58 +00:00
sgi-ip27 [MIPS] ip27-timer: fix unsigned irq < 0 2008-05-12 16:46:51 +01:00
sgi-ip32 [MIPS] replace remaining __FUNCTION__ occurrences 2008-04-28 17:14:27 +01:00
sibyte [MIPS] BCM1480: Remove stray function call resulting in infinite recursion 2008-02-19 17:01:31 +00:00
sni [MIPS] RM: Collected changes 2008-01-29 10:14:59 +00:00
tx4927 [MIPS] replace remaining __FUNCTION__ occurrences 2008-04-28 17:14:27 +01:00
tx4938 [MIPS] rbtx4938: minor cleanup 2008-04-28 17:14:32 +01:00
vr41xx serial: add VR41xx SIU setup for serial console 2008-04-28 08:58:30 -07:00
Kconfig [MIPS] DS1287: Add clockevent driver 2008-04-28 17:14:32 +01:00
Kconfig.debug [MIPS] Allow setting of the cache attribute at run time. 2008-04-28 17:14:25 +01:00
Makefile [MIPS] Move arch/mips/philips to arch/mips/nxp 2008-04-28 17:14:26 +01:00