MIPS: Loongson: clean up the coding style
authorWu Zhangjin <wuzj@lemote.com>
Thu, 2 Jul 2009 15:23:03 +0000 (23:23 +0800)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 17 Sep 2009 18:07:46 +0000 (20:07 +0200)
commit5e983ff654ca3df3007b5b558b5271bb4622afa4
treef15edfeb1df8e0b1874adec3e09a4fc1c58d59f2
parentbd92aa013e8fcd17328ec8e060477761cf3380d9
MIPS: Loongson: clean up the coding style

With the help of script/checkpatch.pl, i have cleaned up the coding
style.

1. remove un-needed header files and tune some comments.
2. remove some un-needed { }

add a new header file loongson.h:

3. move some common header files to loongson.h
4. move some common extern declartions to loongson.h

and this new header file is needed for future loongson2f support.

Signed-off-by: Wu Zhangjin <wuzj@lemote.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
14 files changed:
arch/mips/include/asm/mach-lemote/loongson.h [new file with mode: 0644]
arch/mips/include/asm/mach-lemote/pci.h
arch/mips/lemote/lm2e/bonito-irq.c
arch/mips/lemote/lm2e/cmdline.c
arch/mips/lemote/lm2e/early_printk.c
arch/mips/lemote/lm2e/env.c
arch/mips/lemote/lm2e/init.c
arch/mips/lemote/lm2e/irq.c
arch/mips/lemote/lm2e/mem.c
arch/mips/lemote/lm2e/pci.c
arch/mips/lemote/lm2e/reset.c [deleted file]
arch/mips/lemote/lm2e/setup.c
arch/mips/lemote/lm2e/time.c
arch/mips/pci/fixup-lm2e.c