dect
/
linux-2.6
Archived
13
0
Fork 0

ARM: ep93xx: convert ata_<foo>_printk() to ata_<foo>_<level>()

Using ata_<foo>_<level>() instead of ata_<foo>_printk().

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
This commit is contained in:
Wei Yongjun 2012-12-03 23:30:55 -05:00 committed by Jeff Garzik
parent 071d3ad374
commit 99da09fcc5
1 changed files with 2 additions and 4 deletions

View File

@ -822,8 +822,7 @@ static int ep93xx_pata_softreset(struct ata_link *al, unsigned int *classes,
rc = ep93xx_pata_bus_softreset(ap, devmask, deadline);
/* if link is ocuppied, -ENODEV too is an error */
if (rc && (rc != -ENODEV || sata_scr_valid(al))) {
ata_link_printk(al, KERN_ERR, "SRST failed (errno=%d)\n",
rc);
ata_link_err(al, "SRST failed (errno=%d)\n", rc);
return rc;
}
@ -857,8 +856,7 @@ static void ep93xx_pata_drain_fifo(struct ata_queued_cmd *qc)
/* Can become DEBUG later */
if (count)
ata_port_printk(ap, KERN_DEBUG,
"drained %d bytes to clear DRQ.\n", count);
ata_port_dbg(ap, "drained %d bytes to clear DRQ.\n", count);
}