Skip to content

Commit

Permalink
watchdog: mtx1-wdt: use dev_{err,info} instead of printk()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Florian Fainelli authored and Wim Van Sebroeck committed Jul 22, 2011
1 parent bfbc5e2 commit fad0a9d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/watchdog/mtx-1_wdt.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit fad0a9d

Please sign in to comment.