android_kernel_xiaomi_sm8350/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
..
aec62xx.c ide: add "vlb|pci_clock=" parameter 2008-04-27 15:38:29 +02:00
alim15x3.c ide: remove /proc/ide/ali 2008-04-27 15:38:33 +02:00
amd74xx.c ide: add "vlb|pci_clock=" parameter 2008-04-27 15:38:29 +02:00
atiixp.c ide: add struct ide_port_ops (take 2) 2008-04-26 22:25:14 +02:00
cmd64x.c ide: add "vlb|pci_clock=" parameter 2008-04-27 15:38:29 +02:00
cmd640.c ide: add struct ide_io_ports (take 3) 2008-04-27 15:38:32 +02:00
cs5520.c ide: constify struct ide_dma_ops 2008-04-26 22:25:24 +02:00
cs5530.c ide: add struct ide_port_ops (take 2) 2008-04-26 22:25:14 +02:00
cs5535.c ide: add struct ide_port_ops (take 2) 2008-04-26 22:25:14 +02:00
cy82c693.c ide: mark "idebus=" kernel parameter as obsoleted (take 2) 2008-04-27 15:38:29 +02:00
delkin_cb.c ide: make ide_unregister() take 'ide_hwif_t *' as an argument (take 2) 2008-04-27 15:38:31 +02:00
generic.c IDE: Coding Style fixes to drivers/ide/pci/generic.c 2008-04-26 17:36:40 +02:00
hpt34x.c ide: remove ->extra field from struct ide_port_info 2008-04-26 22:25:20 +02:00
hpt366.c ide: add struct ide_io_ports (take 3) 2008-04-27 15:38:32 +02:00
it821x.c ide: add struct ide_dma_ops (take 3) 2008-04-26 22:25:24 +02:00
it8213.c ide: add struct ide_port_ops (take 2) 2008-04-26 22:25:14 +02:00
jmicron.c ide: add struct ide_port_ops (take 2) 2008-04-26 22:25:14 +02:00
Makefile
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 ide: constify struct ide_dma_ops 2008-04-26 22:25:24 +02:00
piix.c piix: add Asus Eee 701 controller to short cable list 2008-04-28 23:44:43 +02:00
rz1000.c ide: IDE_HFLAG_BOOTABLE -> IDE_HFLAG_NON_BOOTABLE 2008-04-26 17:36:35 +02:00
sc1200.c ide: constify struct ide_dma_ops 2008-04-26 22:25:24 +02:00
scc_pata.c ide: remove ->dma_prdtable field from ide_hwif_t 2008-04-28 23:44:42 +02:00
serverworks.c ide: add struct ide_port_ops (take 2) 2008-04-26 22:25:14 +02:00
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 ide: add struct ide_port_ops (take 2) 2008-04-26 22:25:14 +02:00
sl82c105.c ide: constify struct ide_dma_ops 2008-04-26 22:25:24 +02:00
slc90e66.c ide: add struct ide_port_ops (take 2) 2008-04-26 22:25:14 +02:00
tc86c001.c ide: constify struct ide_dma_ops 2008-04-26 22:25:24 +02:00
triflex.c ide: add struct ide_port_ops (take 2) 2008-04-26 22:25:14 +02:00
trm290.c ide: add struct ide_io_ports (take 3) 2008-04-27 15:38:32 +02:00
via82cxxx.c ide: add "vlb|pci_clock=" parameter 2008-04-27 15:38:29 +02:00