|
@@ -631,14 +631,12 @@ static int wdt_ioctl(struct inode *inode, struct file *file, unsigned int cmd,
|
|
return -EFAULT;
|
|
return -EFAULT;
|
|
|
|
|
|
if (rv & WDIOS_DISABLECARD) {
|
|
if (rv & WDIOS_DISABLECARD) {
|
|
- printk(KERN_INFO
|
|
|
|
- "rtc-m41t80: disable watchdog\n");
|
|
|
|
|
|
+ pr_info("rtc-m41t80: disable watchdog\n");
|
|
wdt_disable();
|
|
wdt_disable();
|
|
}
|
|
}
|
|
|
|
|
|
if (rv & WDIOS_ENABLECARD) {
|
|
if (rv & WDIOS_ENABLECARD) {
|
|
- printk(KERN_INFO
|
|
|
|
- "rtc-m41t80: enable watchdog\n");
|
|
|
|
|
|
+ pr_info("rtc-m41t80: enable watchdog\n");
|
|
wdt_ping();
|
|
wdt_ping();
|
|
}
|
|
}
|
|
|
|
|