Skip to content

Commit

Permalink
ahci_platform: use dev_info() instead of printk()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jingoo Han authored and htejun committed Oct 7, 2013
1 parent d2782d9 commit 0fed4c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/ata/ahci_platform.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 0fed4c0

Please sign in to comment.