linux/drivers/ide
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
..
arm ide: add IDE_HFLAG_MMIO host flag (take 2) 2008-04-28 23:44:37 +02:00
h8300 ide: remove ->INW and ->OUTW methods 2008-04-28 23:44:41 +02:00
legacy ide: add IDE_HFLAG_MMIO host flag (take 2) 2008-04-28 23:44:37 +02:00
mips ide: remove ->INS{W,L} and ->OUTS{W,L} methods 2008-04-28 23:44:37 +02:00
pci siimage: coding style cleanup (take 2) 2008-04-28 23:44:44 +02:00
ppc ide: add IDE_HFLAG_MMIO host flag (take 2) 2008-04-28 23:44:37 +02:00
ide-acpi.c ide: add "noacpi" / "acpigtf" / "acpionboot" parameters 2008-04-27 15:38:30 +02:00
ide-cd_ioctl.c ide-cd: mark REQ_TYPE_ATA_PC write requests with REQ_RW flag 2008-03-07 21:53:49 +01:00
ide-cd_verbose.c ide-cd: move VERBOSE_IDE_CD_ERRORS code to ide-cd_verbose.c 2008-02-01 23:09:23 +01:00
ide-cd.c ide-cd: clean up cdrom_analyze_sense_data() 2008-04-28 23:44:43 +02:00
ide-cd.h ide-cd: remove the internal 64k buffer 2008-04-26 17:36:37 +02:00
ide-disk.c ide-disk: fix issues found by checkpatch.pl 2008-04-26 17:36:37 +02:00
ide-dma.c ide: remove ->dma_prdtable field from ide_hwif_t 2008-04-28 23:44:42 +02:00
ide-floppy.c ide: add ide_pad_transfer() helper 2008-04-28 23:44:41 +02:00
ide-generic.c ide: cleanup setting hwif->mmio flag 2008-04-26 22:25:19 +02:00
ide-io.c ide: add ide_pad_transfer() helper 2008-04-28 23:44:41 +02:00
ide-iops.c ide: add TSSTcorp CDDVDW SH-S202H to ivb_list[] 2008-04-28 23:44:43 +02:00
ide-lib.c ide: add ->tf_load and ->tf_read methods 2008-04-28 23:44:40 +02:00
ide-pnp.c ide: make ide_unregister() take 'ide_hwif_t *' as an argument (take 2) 2008-04-27 15:38:31 +02:00
ide-probe.c ide: always use ->OUTBSYNC method for executing commands 2008-04-28 23:44:38 +02:00
ide-proc.c ide: remove now unused ide_pci_create_host_proc() 2008-04-27 15:38:34 +02:00
ide-scan-pci.c ide: replace remaining __FUNCTION__ occurrences 2008-04-26 22:25:20 +02:00
ide-tape.c ide: add ide_pad_transfer() helper 2008-04-28 23:44:41 +02:00
ide-taskfile.c ide: add ->tf_load and ->tf_read methods 2008-04-28 23:44:40 +02:00
ide-timing.h Spelling fixes: lenght->length 2008-02-03 15:42:53 +02:00
ide.c ide: add struct ide_io_ports (take 3) 2008-04-27 15:38:32 +02:00
Kconfig remove the broken ETRAX_IDE driver 2008-04-28 23:44:42 +02:00
Makefile remove the broken ETRAX_IDE driver 2008-04-28 23:44:42 +02:00
setup-pci.c ide: constify struct ide_dma_ops 2008-04-26 22:25:24 +02:00