pata_hpt3x2n: coding style cleanup
authorSergei Shtylyov <sshtylyov@ru.mvista.com>
Tue, 28 Dec 2010 20:11:36 +0000 (23:11 +0300)
committerJeff Garzik <jgarzik@redhat.com>
Sat, 8 Jan 2011 03:33:31 +0000 (22:33 -0500)
commitb197f13b53681c606e59d7d9a8a1d2d54fd363fe
treef0c8af11528d82b728f701741e5272de5fb94802
parent49bfbd38bfc997e9081beabd758b2bd655d26a9c
pata_hpt3x2n: coding style cleanup

Fix 8 errors and 3 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;

- 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_hpt3x2n.c