lkml.org 
[lkml]   [2008]   [May]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] RTC: M41T80: Use pr_info() as appropriate
 Replace printk(KERN_INFO ...) calls with appropriate pr_info(...) 
equivalents.

Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org>
---
By request of I2C maintainers I have made it a separate patch. It should
be obvious. Please apply.

Maciej

patch-2.6.26-rc1-20080505-m41t80-pr_info-15
diff -up --recursive --new-file linux-2.6.26-rc1-20080505.macro/drivers/rtc/rtc-m41t80.c linux-2.6.26-rc1-20080505/drivers/rtc/rtc-m41t80.c
--- linux-2.6.26-rc1-20080505.macro/drivers/rtc/rtc-m41t80.c 2008-05-05 02:55:40.000000000 +0000
+++ linux-2.6.26-rc1-20080505/drivers/rtc/rtc-m41t80.c 2008-05-10 03:35:55.000000000 +0000
@@ -629,14 +629,12 @@ static int wdt_ioctl(struct inode *inode
return -EFAULT;

if (rv & WDIOS_DISABLECARD) {
- printk(KERN_INFO
- "rtc-m41t80: disable watchdog\n");
+ pr_info("rtc-m41t80: disable watchdog\n");
wdt_disable();
}

if (rv & WDIOS_ENABLECARD) {
- printk(KERN_INFO
- "rtc-m41t80: enable watchdog\n");
+ pr_info("rtc-m41t80: enable watchdog\n");
wdt_ping();
}


\
 
 \ /
  Last update: 2008-05-11 03:57    [W:0.164 / U:0.584 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site