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>
Sat, 19 Feb 2022 02:18:42 +0000 (11:18 +0900)
commit7ad3128efe87bd2d5ed1c574109fcad5455c8155
treed782c9a7c23824ed5aefbafe5651d2ca747754e0
parent183a4bfbd7c86fcb194dc45fdec6e5759c6283a8
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