diff options
author | Sergey Shtylyov <s.shtylyov@omp.ru> | 2022-02-17 18:38:29 +0300 |
---|---|---|
committer | Damien Le Moal <damien.lemoal@opensource.wdc.com> | 2022-02-20 03:06:05 +0300 |
commit | ffa92a7457555df6871cfb15c2fb3afcb02c4d2b (patch) | |
tree | 73ad158537e33cfa7d9707983b95a2990cf7be3b /drivers/ata/pata_hpt37x.c | |
parent | efcef265fd83d9a68a68926abecb3e1dd3e260a8 (diff) | |
download | linux-ffa92a7457555df6871cfb15c2fb3afcb02c4d2b.tar.xz |
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_hpt37x.c')
0 files changed, 0 insertions, 0 deletions