ata: Convert ata_<foo>_printk(KERN_<LEVEL> to ata_<foo>_<level>
[deliverable/linux.git] / drivers / ata / pata_bf54x.c
index ea64967000ff439b6e4cb03a477a58e06efec2c2..bd987bb082eb51d4c23d937e23d5882f45e0cb2f 100644 (file)
@@ -1129,7 +1129,7 @@ static int bfin_softreset(struct ata_link *link, unsigned int *classes,
        /* issue bus reset */
        err_mask = bfin_bus_softreset(ap, devmask);
        if (err_mask) {
-               ata_port_printk(ap, KERN_ERR, "SRST failed (err_mask=0x%x)\n",
+               ata_port_err(ap, "SRST failed (err_mask=0x%x)\n",
                                err_mask);
                return -EIO;
        }
@@ -1382,7 +1382,7 @@ idle_irq:
 #ifdef ATA_IRQ_TRAP
        if ((ap->stats.idle_irq % 1000) == 0) {
                ap->ops->irq_ack(ap, 0); /* debug trap */
-               ata_port_printk(ap, KERN_WARNING, "irq trap\n");
+               ata_port_warn(ap, "irq trap\n");
                return 1;
        }
 #endif
This page took 0.024765 seconds and 5 git commands to generate.