ata: pata_hpt37x: merge transfer mode setting methods
authorSergey Shtylyov <s.shtylyov@omp.ru>
Fri, 18 Feb 2022 10:06:14 +0000 (13:06 +0300)
committerDamien Le Moal <damien.lemoal@opensource.wdc.com>
Sun, 20 Feb 2022 00:06:05 +0000 (09:06 +0900)
commit9256766fe2df9510cbeee8b458dab5df7df8506e
treeb5bb57931112cb7fd1e78b769d7934e89bac62c9
parentffa92a7457555df6871cfb15c2fb3afcb02c4d2b
ata: pata_hpt37x: merge transfer mode setting methods

After commit e0afcf140e6e ("ata: pata_hpt37x: disable fast interrupts in
prereset() method") HPT370's and HPT372+'s PIO/DMA mode setting functions
have become identical -- merge them.

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