projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa16190
)
rtc: rtc-vr41xx: use dev_info() instead of printk()
author
Jingoo Han
<jg1.han@samsung.com>
Fri, 22 Feb 2013 00:45:30 +0000
(16:45 -0800)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Fri, 22 Feb 2013 01:22:29 +0000
(17:22 -0800)
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>
drivers/rtc/rtc-vr41xx.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/rtc/rtc-vr41xx.c
b/drivers/rtc/rtc-vr41xx.c
index 6c3774cf5a2461fdfb7168885fbf55f783df79b2..f91be04b90508e3ede7791a5257ae251a120da2a 100644
(file)
--- 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;