diff options
author | Ondrej Zary <linux@zary.sk> | 2023-02-18 23:01:31 +0100 |
---|---|---|
committer | Damien Le Moal <damien.lemoal@opensource.wdc.com> | 2023-03-23 02:29:25 +0100 |
commit | 5f1145d8304f93286be774482db6298c40dfe812 (patch) | |
tree | 130a116e253f932a4a20dfd313b4396cac7880db /drivers/ata/pata_parport/bpck.c | |
parent | ata: pata_parport: remove scratch parameter from log_adapter() (diff) | |
download | linux-5f1145d8304f93286be774482db6298c40dfe812.tar.xz linux-5f1145d8304f93286be774482db6298c40dfe812.zip |
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 '')
-rw-r--r-- | drivers/ata/pata_parport/bpck.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ata/pata_parport/bpck.c b/drivers/ata/pata_parport/bpck.c index f475a25769f0..1cba098b4b82 100644 --- a/drivers/ata/pata_parport/bpck.c +++ b/drivers/ata/pata_parport/bpck.c @@ -435,9 +435,9 @@ static void bpck_log_adapter(struct pi_adapter *pi) printk(" %64.64s\n", &scratch[64]); #endif - printk("bpck %s, backpack %8.8s unit %d", + dev_info(&pi->dev, "bpck %s, backpack %8.8s unit %d", BPCK_VERSION, &scratch[110], pi->unit); - printk(" at 0x%x, mode %d (%s), delay %d\n",pi->port, + dev_info(&pi->dev, " at 0x%x, mode %d (%s), delay %d\n", pi->port, pi->mode,mode_string[pi->mode],pi->delay); } |