]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[MIPS] MTX-1 code style cleanup
authorSergei Shtylyov <sshtylyov@ru.mvista.com>
Wed, 30 Apr 2008 19:30:12 +0000 (23:30 +0400)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 12 May 2008 15:46:55 +0000 (16:46 +0100)
commit1ff1a78cbb6fb6ceafac1b2cbdd72c939a7c9bae
tree292862f6afa08adc4208b2a221666f1497b686f8
parentc3d1d5c8c10c937c65186f6dac75e2fb4675ef07
[MIPS] MTX-1 code style cleanup

Fix many errors and warnings given by checkpatch.pl:

- space after opening and before closing parentheses;

- use of C99 // comments;

- leading spaces instead of tabs;

- brace not on the same line with 'else' in the 'if' statement;
  statement;

- printk() without KERN_* facility level;

- using simple_strtol() where strict_strtol() could be used.

- including <asm/gpio.h> instead of <linux/gpio.h>.

In addition to these changes, also do the following:

- insert spaces between operator and its operands;

- replace tab between the function type and name with space in
  mtx1_pci_idsel() declaration;

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

- insert missing space before closing brace in the array/structure
  initializers;

- 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/mtx-1/Makefile
arch/mips/au1000/mtx-1/board_setup.c
arch/mips/au1000/mtx-1/init.c
arch/mips/au1000/mtx-1/irqmap.c
arch/mips/au1000/mtx-1/platform.c