]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
pata_imx: convert ata_dev_printk() to ata_dev_info()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Tue, 4 Dec 2012 04:38:58 +0000 (23:38 -0500)
committerJeff Garzik <jgarzik@redhat.com>
Fri, 14 Dec 2012 14:38:46 +0000 (09:38 -0500)
Using ata_dev_info() instead of ata_dev_printk().

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/pata_imx.c

index 87bb05b3cafc965fd242d228c04c83322a09db32..7d40b526ef118761194e0ea9a428432e9a1668d3 100644 (file)
@@ -60,7 +60,7 @@ static int pata_imx_set_mode(struct ata_link *link, struct ata_device **unused)
                        val &= ~PATA_IMX_ATA_CTRL_IORDY_EN;
                __raw_writel(val, priv->host_regs + PATA_IMX_ATA_CONTROL);
 
-               ata_dev_printk(dev, KERN_INFO, "configured for PIO\n");
+               ata_dev_info(dev, "configured for PIO\n");
        }
        return 0;
 }