ata: pata_artop: use *switch* in atp8xx_fixup()
authorSergey Shtylyov <s.shtylyov@omp.ru>
Wed, 9 Feb 2022 20:25:35 +0000 (23:25 +0300)
committerDamien Le Moal <damien.lemoal@opensource.wdc.com>
Thu, 10 Feb 2022 02:55:34 +0000 (11:55 +0900)
commit5f2f99c320edd9ac9e02a2654627e242a15e0e4e
treed782c9a7c23824ed5aefbafe5651d2ca747754e0
parented1d89c188d086adb13d92905fffcd478ac8eeef
ata: pata_artop: use *switch* in atp8xx_fixup()

This driver uses a string of the *if* statements in atp8xx_fixup() where
a *switch* statement would fit better...

Signed-off-by: Sergey Shtylyov <s.shtylyov@omp.ru>
Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
drivers/ata/pata_artop.c