pata_cmd64x: turn string of *if* statements into *switch*
authorSergei Shtylyov <sshtylyov@ru.mvista.com>
Sun, 11 Mar 2012 19:29:02 +0000 (22:29 +0300)
committerJeff Garzik <jgarzik@redhat.com>
Tue, 13 Mar 2012 20:41:31 +0000 (16:41 -0400)
commit8fcfa7bd1b77514cfdce77751c980460535f56b4
tree1d301e23c7e8859c8e369b4f1120d202bcd7fec2
parentd01159dffa15e3a734e43cf58c5d9f04c4106d83
pata_cmd64x: turn string of *if* statements into *switch*

Convert string of the *if* statements all checking 'pdev->revision' into more
natural *switch* statement. While at it, somewhat clarify the comments there...

Increment the driver version, accounting for the patches that neglected to do
this in the past.

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