Messages in this thread Patch in this message | | | Date | Sun, 11 May 2008 02:54:11 +0100 (BST) | From | "Maciej W. Rozycki" <> | 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(); }
| |