From: Jingoo Han Date: Wed, 20 Feb 2013 02:15:50 +0000 (+1100) Subject: rtc: rtc-vr41xx: use dev_info() instead of printk() X-Git-Tag: next-20130220~1^2~239 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=d6b9086bbc708270f6e1f5299d7e63a411f1d3cb;p=karo-tx-linux.git 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 Signed-off-by: Andrew Morton --- diff --git a/drivers/rtc/rtc-vr41xx.c b/drivers/rtc/rtc-vr41xx.c index 6c3774cf5a24..f91be04b9050 100644 --- a/drivers/rtc/rtc-vr41xx.c +++ b/drivers/rtc/rtc-vr41xx.c @@ -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;