summaryrefslogtreecommitdiff
path: root/drivers/ata/pata_parport/fit2.c
diff options
context:
space:
mode:
authorOndrej Zary <linux@zary.sk>2023-02-18 23:01:31 +0100
committerDamien Le Moal <damien.lemoal@opensource.wdc.com>2023-03-23 10:29:25 +0900
commit5f1145d8304f93286be774482db6298c40dfe812 (patch)
tree130a116e253f932a4a20dfd313b4396cac7880db /drivers/ata/pata_parport/fit2.c
parent5b77db9ccff444ddd3755e43b7bfa8782a5ac125 (diff)
ata: pata_parport: use dev_* instead of printk
Use dev_info/dev_err/dev_dbg instead of printk. Reviewed-by: Sergey Shtylyov <s.shtylyov@omp.ru> Signed-off-by: Ondrej Zary <linux@zary.sk> Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Diffstat (limited to 'drivers/ata/pata_parport/fit2.c')
-rw-r--r--drivers/ata/pata_parport/fit2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/pata_parport/fit2.c b/drivers/ata/pata_parport/fit2.c
index 056e92d8e015..d0a781f04411 100644
--- a/drivers/ata/pata_parport/fit2.c
+++ b/drivers/ata/pata_parport/fit2.c
@@ -116,7 +116,7 @@ static void fit2_disconnect(struct pi_adapter *pi)
static void fit2_log_adapter(struct pi_adapter *pi)
{
- printk("fit2 %s, FIT 2000 adapter at 0x%x, delay %d\n",
+ dev_info(&pi->dev, "fit2 %s, FIT 2000 adapter at 0x%x, delay %d\n",
FIT2_VERSION, pi->port, pi->delay);
}