Skip to content

Commit

Permalink
rtc: m41t80: use pr_info() as appropriate
Browse files Browse the repository at this point in the history
Replace printk(KERN_INFO ...) calls with appropriate pr_info(...)
equivalents.

Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: Alexander Bigga <ab@mycable.de>
Cc: David Brownell <david-b@pacbell.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Maciej W. Rozycki authored and Linus Torvalds committed Jul 24, 2008
1 parent 35aa64f commit 4c228db
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions drivers/rtc/rtc-m41t80.c
Original file line number Diff line number Diff line change
Expand Up @@ -631,14 +631,12 @@ static int wdt_ioctl(struct inode *inode, struct file *file, unsigned int cmd,
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();
}

Expand Down

0 comments on commit 4c228db

Please sign in to comment.