summaryrefslogtreecommitdiff
path: root/drivers/ata/pata_via.c
diff options
context:
space:
mode:
authorSergey Shtylyov <s.shtylyov@omp.ru>2022-02-17 18:38:29 +0300
committerDamien Le Moal <damien.lemoal@opensource.wdc.com>2022-02-20 09:06:05 +0900
commitffa92a7457555df6871cfb15c2fb3afcb02c4d2b (patch)
tree73ad158537e33cfa7d9707983b95a2990cf7be3b /drivers/ata/pata_via.c
parentefcef265fd83d9a68a68926abecb3e1dd3e260a8 (diff)
downloadlinux-next-ffa92a7457555df6871cfb15c2fb3afcb02c4d2b.tar.gz
ata: libata-sff: use *switch* statement in ata_sff_dev_classify()
In ata_sff_dev_classify(), replace a string of the *if* statements checking the device's class with the *switch* statement that fits better here... While at it, fix the multi-line comment style in the vicinity... Signed-off-by: Sergey Shtylyov <s.shtylyov@omp.ru> Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Diffstat (limited to 'drivers/ata/pata_via.c')
0 files changed, 0 insertions, 0 deletions