[PATCH] ata: ahci: use ata_link_info() instead of ata_link_printk()

From: Xu Wang
Date: Sun Aug 16 2020 - 23:29:54 EST


Using ata_link_info() instead of ata_link_printk().

Signed-off-by: Xu Wang <vulab@xxxxxxxxxxx>
---
drivers/ata/ahci.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/ata/ahci.c b/drivers/ata/ahci.c
index 0c0a736eb861..fbd8eaa32d32 100644
--- a/drivers/ata/ahci.c
+++ b/drivers/ata/ahci.c
@@ -807,8 +807,7 @@ static int ahci_avn_hardreset(struct ata_link *link, unsigned int *class,
(sstatus & 0xf) != 1)
break;

- ata_link_printk(link, KERN_INFO, "avn bounce port%d\n",
- port);
+ ata_link_info(link, "avn bounce port%d\n", port);

pci_read_config_word(pdev, 0x92, &val);
val &= ~(1 << port);
--
2.17.1