Patchwork [-next] pata_imx: convert ata_dev_printk() to ata_dev_info()

login
register
mail settings
Submitter Wei Yongjun
Date Dec. 4, 2012, 4:38 a.m.
Message ID <CAPgLHd8ZnTQSMypEXbLav8=ruuLvaNiGoj2L2yY7bNaT5ADQGA@mail.gmail.com>
Download mbox | patch
Permalink /patch/203554/
State Not Applicable
Delegated to: David Miller
Headers show

Comments

Wei Yongjun - Dec. 4, 2012, 4:38 a.m.
From: Wei Yongjun <yongjun_wei@trendmicro.com.cn>

Using ata_dev_info() instead of ata_dev_printk().

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
---
 drivers/ata/pata_imx.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)



--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

diff --git a/drivers/ata/pata_imx.c b/drivers/ata/pata_imx.c
index 87bb05b..7d40b52 100644
--- a/drivers/ata/pata_imx.c
+++ b/drivers/ata/pata_imx.c
@@ -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;
 }