pata_hpt37x: coding style cleanup
authorSergei Shtylyov <sshtylyov@ru.mvista.com>
Tue, 28 Dec 2010 20:09:27 +0000 (23:09 +0300)
committerJeff Garzik <jgarzik@redhat.com>
Sat, 8 Jan 2011 03:33:30 +0000 (22:33 -0500)
commit49bfbd38bfc997e9081beabd758b2bd655d26a9c
tree388a9282bdd9f7c36137becf0fbdc3638942bfca
parent28cd4b6b4850d7588f1033c3808314b6bc2150d5
pata_hpt37x: coding style cleanup

Fix 12 errors and 15 warnings given by checkpatch.pl:

- *switch* and *case* not on the same indentation level;

- no space between *for*/*switch*/*while* and open parenthesis;

- space between an unary operator and its operand;

- drive blacklist arrays not being *const*;

- spaces before tabs;

- lines over 80 characters.

In addition to these changes, also do the following:

- add new line after variable definitions;

- fix the style of some multi-line comments.

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/pata_hpt37x.c