linux/drivers/ide/pci
Sergei Shtylyov 7b255436df siimage: coding style cleanup (take 2)
Fix 18 errors and several warnings given by checkpatch.pl:

- use of C99 // comments;

- trailing whitespace;

- 'switch' and 'case' not at the same indentation level;

- no space before the open parenthesis of the 'if' and 'switch' statements;

- space between function name and open parenthesis (though I have introduced
  such warnins in some places since the code looks prettier with the spaces);

- including <asm/io.h> instead of <linux/io.h>;

- line over 80 characters.

In addition to these changes, also do the following:

- make the arrays in sil_set_pio_mode() 'static', and make the arrays in
  sil_set_dma_mode() 'static const';

- change the string of the 'if' statements into the 'switch' statement in
  sil_pata_udma_filter();

- drop the needless '==' operators from the 'if' statements where a condition
  is a mere bit test;

- remove needless initializer for the 'tmp' variable in init_chipset_siimage();

- beautify groups of the variable initializers and assignment operators;

- add new line after variable definitions;

- remove new line between the comment and the statements it refers to;

- remove needless curly braces and parentheses;

- fix typos, capitalize acronyms, etc. in the comments...

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
2008-04-28 23:44:44 +02:00
..
Makefile
aec62xx.c
alim15x3.c ide: remove /proc/ide/ali 2008-04-27 15:38:33 +02:00
amd74xx.c
atiixp.c
cmd64x.c
cmd640.c ide: add struct ide_io_ports (take 3) 2008-04-27 15:38:32 +02:00
cs5520.c
cs5530.c
cs5535.c
cy82c693.c
delkin_cb.c
generic.c
hpt34x.c
hpt366.c ide: add struct ide_io_ports (take 3) 2008-04-27 15:38:32 +02:00
it821x.c
it8213.c
jmicron.c
ns87415.c ns87415: add ->tf_read method 2008-04-28 23:44:40 +02:00
opti621.c ide: add struct ide_io_ports (take 3) 2008-04-27 15:38:32 +02:00
pdc202xx_new.c ide: remove ->dma_vendor{1,3} fields from ide_hwif_t 2008-04-28 23:44:42 +02:00
pdc202xx_old.c
piix.c piix: add Asus Eee 701 controller to short cable list 2008-04-28 23:44:43 +02:00
rz1000.c
sc1200.c
scc_pata.c ide: remove ->dma_prdtable field from ide_hwif_t 2008-04-28 23:44:42 +02:00
serverworks.c
sgiioc4.c ide: add IDE_HFLAG_MMIO host flag (take 2) 2008-04-28 23:44:37 +02:00
siimage.c siimage: coding style cleanup (take 2) 2008-04-28 23:44:44 +02:00
sis5513.c
sl82c105.c
slc90e66.c
tc86c001.c
triflex.c
trm290.c ide: add struct ide_io_ports (take 3) 2008-04-27 15:38:32 +02:00
via82cxxx.c