projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bfbc5e2
)
watchdog: mtx1-wdt: use dev_{err,info} instead of printk()
author
Florian Fainelli
<florian@openwrt.org>
Wed, 15 Jun 2011 17:15:09 +0000
(19:15 +0200)
committer
Wim Van Sebroeck
<wim@iguana.be>
Fri, 22 Jul 2011 08:59:43 +0000
(08:59 +0000)
use dev_{err,info} instead of printk(KERN_{ERR,INFO} ...)
Signed-off-by: Florian Fainelli <florian@openwrt.org>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/mtx-1_wdt.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/watchdog/mtx-1_wdt.c
b/drivers/watchdog/mtx-1_wdt.c
index 0430e093b1a0e39d8b97d62eebfbb8fa62ac8fb5..ac37bb82392cce7462918d3e36b7ab7e74aeec13 100644
(file)
--- a/
drivers/watchdog/mtx-1_wdt.c
+++ b/
drivers/watchdog/mtx-1_wdt.c
@@
-225,11
+225,11
@@
static int __devinit mtx1_wdt_probe(struct platform_device *pdev)
ret = misc_register(&mtx1_wdt_misc);
if (ret < 0) {
-
printk(KERN_ERR " mtx-1_wdt :
failed to register\n");
+
dev_err(&pdev->dev, "
failed to register\n");
return ret;
}
mtx1_wdt_start();
-
printk(KERN_INFO
"MTX-1 Watchdog driver\n");
+
dev_info(&pdev->dev,
"MTX-1 Watchdog driver\n");
return 0;
}