ata: make use of ata_port_is_frozen() helper
authorNiklas Cassel <niklas.cassel@wdc.com>
Fri, 7 Oct 2022 13:23:38 +0000 (15:23 +0200)
committerDamien Le Moal <damien.lemoal@opensource.wdc.com>
Tue, 18 Oct 2022 04:53:27 +0000 (13:53 +0900)
commit4cb7c6f1ef9642cd2c8580b495fde47ffbaddef7
tree86895369e211cbf8def44a05346e994adfe1d43d
parentfddb1a6424787d8089a9032bd5d21c428670f854
ata: make use of ata_port_is_frozen() helper

Clean up the code by making use of the newly introduced
ata_port_is_frozen() helper function.

Signed-off-by: Niklas Cassel <niklas.cassel@wdc.com>
Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
drivers/ata/libahci.c
drivers/ata/libata-acpi.c
drivers/ata/libata-core.c
drivers/ata/libata-eh.c
drivers/ata/libata-sata.c
drivers/ata/libata-scsi.c
drivers/ata/sata_nv.c
drivers/ata/sata_promise.c
drivers/ata/sata_sx4.c