diff options
author | Jingoo Han <jg1.han@samsung.com> | 2013-10-04 20:15:59 -0400 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2013-10-07 15:17:39 -0400 |
commit | 0fed4c09dca6820adaee28e55cd4283e74d029cd (patch) | |
tree | 3a62a885c7c36a4e5d976dd2005d5e9c33ee5c3d | |
parent | d2782d96f3d85e85742364b85db63763918a4e1c (diff) |
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 <jg1.han@samsung.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
-rw-r--r-- | drivers/ata/ahci_platform.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/ahci_platform.c b/drivers/ata/ahci_platform.c index 2daaee05cab1..7d3b85385bfc 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) | |||
184 | if (!(hpriv->cap & HOST_CAP_SSS) || ahci_ignore_sss) | 184 | if (!(hpriv->cap & HOST_CAP_SSS) || ahci_ignore_sss) |
185 | host->flags |= ATA_HOST_PARALLEL_SCAN; | 185 | host->flags |= ATA_HOST_PARALLEL_SCAN; |
186 | else | 186 | else |
187 | printk(KERN_INFO "ahci: SSS flag set, parallel bus scan disabled\n"); | 187 | dev_info(dev, "SSS flag set, parallel bus scan disabled\n"); |
188 | 188 | ||
189 | if (pi.flags & ATA_FLAG_EM) | 189 | if (pi.flags & ATA_FLAG_EM) |
190 | ahci_reset_em(host); | 190 | ahci_reset_em(host); |