From: Jingoo Han Date: Sat, 5 Oct 2013 00:15:59 +0000 (+0900) Subject: ahci_platform: use dev_info() instead of printk() X-Git-Tag: upstream/snapshot3+hdmi~4127^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0fed4c09dca6820adaee28e55cd4283e74d029cd;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git ahci_platform: use dev_info() instead of printk() Change "raw" printk() call to dev_info() to provide a better message to userspace so it can properly identify the device and not just have to guess. Signed-off-by: Jingoo Han Signed-off-by: Tejun Heo --- diff --git a/drivers/ata/ahci_platform.c b/drivers/ata/ahci_platform.c index 2daaee0..7d3b853 100644 --- a/drivers/ata/ahci_platform.c +++ b/drivers/ata/ahci_platform.c @@ -184,7 +184,7 @@ static int ahci_probe(struct platform_device *pdev) if (!(hpriv->cap & HOST_CAP_SSS) || ahci_ignore_sss) host->flags |= ATA_HOST_PARALLEL_SCAN; else - printk(KERN_INFO "ahci: SSS flag set, parallel bus scan disabled\n"); + dev_info(dev, "SSS flag set, parallel bus scan disabled\n"); if (pi.flags & ATA_FLAG_EM) ahci_reset_em(host);