mirror of
https://github.com/torvalds/linux.git
synced 2024-11-11 06:31:49 +00:00
rtc: rtc-vr41xx: use dev_info() instead of printk()
Fix the checkpatch warning as below: WARNING: Prefer netdev_err(netdev, ... then dev_err(dev, ... then pr_err(... to printk(KERN_ERR ... Signed-off-by: Jingoo Han <jg1.han@samsung.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
aa161902ec
commit
d75dcd3349
@ -352,7 +352,7 @@ static int rtc_probe(struct platform_device *pdev)
|
||||
disable_irq(aie_irq);
|
||||
disable_irq(pie_irq);
|
||||
|
||||
printk(KERN_INFO "rtc: Real Time Clock of NEC VR4100 series\n");
|
||||
dev_info(&pdev->dev, "Real Time Clock of NEC VR4100 series\n");
|
||||
|
||||
return 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user