WATCHDOG: mtx1-wdt: use dev_{err,info} instead of printk()
Subsystems (2)
PATCH v2 1/5 WATCHDOG: mtx1-wdt: use dev_{err,info} instead of printk()
Signed-off-by Florian Fainelli <[email protected]>
---
No changes since v1
drivers/watchdog/mtx-1_wdt.c +2 -2
@@ -224,11 +224,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 ; }
Signature · 1 line
1.7.4.1