| To: | Wim Van Sebroeck <wim@iguana.be> |
|---|---|
| Subject: | [PATCH 1/5 v3] WATCHDOG: mtx1-wdt: use dev_{err,info} instead of printk() |
| From: | Florian Fainelli <florian@openwrt.org> |
| Date: | Wed, 15 Jun 2011 19:15:09 +0200 |
| Cc: | linux-mips@linux-mips.org, linux-watchdog@vger.kernel.org, Manuel Lauss <manuel.lauss@googlemail.com>, Jamie Iles <jamie@jamieiles.com> |
| Dkim-signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:sender:from:organization:to:subject:date :user-agent:cc:mime-version:content-type:content-transfer-encoding :message-id; bh=lF2IwhRc6aBwoNMHypoXCrNxv7rhrkOmNf7j+mwZpXM=; b=WwsqYjlXWyzPcTUzWBXH88WG3uZhKk8gzqeQ41kPkEbg+twPB91qVC7LUVSh3sRbJr gfEAy9DMBSmCr8VFsc4vtSqOIRV9beJcKFEL21grKnJLhN3J5Wh5w8nTbzBuy9u2cozx Kz1G3HIl9bOlBX3859S6Q5i6kYEWRpiP94atQ= |
| Domainkey-signature: | a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:organization:to:subject:date:user-agent:cc:mime-version :content-type:content-transfer-encoding:message-id; b=ACbUcmTPouZWF7HpsL1du05Wqp3+nUzmLmQ74BtY5iOEsIxFGdmglOhRpm2+oTGJqd qiVRF+aTp3uwPJjxdGzxawu5jyQa9hmJIBWoaRPo//uVWo37vGSU59R0WWNSDtQcIOr6 LKEwH9CFEU5c5IUiJNV4DjQOMf8xmRoHtWJp4= |
| Organization: | OpenWrt |
| Sender: | linux-mips-bounce@linux-mips.org |
| User-agent: | KMail/1.13.6 (Linux/2.6.38-8-server; KDE/4.6.2; x86_64; ; ) |
Signed-off-by: Florian Fainelli <florian@openwrt.org>
---
No changes in v1, v2 and v3
diff --git a/drivers/watchdog/mtx-1_wdt.c b/drivers/watchdog/mtx-1_wdt.c
index 1479dc4..63df28c 100644
--- a/drivers/watchdog/mtx-1_wdt.c
+++ b/drivers/watchdog/mtx-1_wdt.c
@@ -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;
}
--
1.7.4.1
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH V2 1/2] MIPS: lantiq: adds missing clk.h functions, Ralf Baechle |
|---|---|
| Next by Date: | [PATCH 2/5 v3] WATCHDOG: mtx1-wdt: request gpio before using it, Florian Fainelli |
| Previous by Thread: | [PATCH -v3] Audit: push audit success and retcode into arch ptrace.h, Eric Paris |
| Next by Thread: | Re: [PATCH 1/5 v3] WATCHDOG: mtx1-wdt: use dev_{err,info} instead of printk(), Florian Fainelli |
| Indexes: | [Date] [Thread] [Top] [All Lists] |