diff options
author | Hannes Reinecke <hare@suse.de> | 2021-12-21 08:20:26 +0100 |
---|---|---|
committer | Damien Le Moal <damien.lemoal@opensource.wdc.com> | 2022-01-04 12:00:45 +0100 |
commit | 6c952a0dc9c3ced98c4c8aa7cd11c25c59157f1f (patch) | |
tree | 3f63a8e56e69d074efea95aefaa9e7a224f8c86c /drivers/ata/sata_fsl.c | |
parent | ata: libata: whitespace cleanup (diff) | |
download | linux-6c952a0dc9c3ced98c4c8aa7cd11c25c59157f1f.tar.xz linux-6c952a0dc9c3ced98c4c8aa7cd11c25c59157f1f.zip |
ata: libata: Add ata_port_classify() helper
Add an ata_port_classify() helper to print out the results from
the device classification and remove the debugging statements
from ata_dev_classify().
Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Diffstat (limited to 'drivers/ata/sata_fsl.c')
-rw-r--r-- | drivers/ata/sata_fsl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/sata_fsl.c b/drivers/ata/sata_fsl.c index ec52511ae60f..7504d9fbff2a 100644 --- a/drivers/ata/sata_fsl.c +++ b/drivers/ata/sata_fsl.c @@ -814,7 +814,7 @@ static unsigned int sata_fsl_dev_classify(struct ata_port *ap) tf.lbal = (temp >> 8) & 0xff; tf.nsect = temp & 0xff; - return ata_dev_classify(&tf); + return ata_port_classify(ap, &tf); } static int sata_fsl_hardreset(struct ata_link *link, unsigned int *class, |