Commit db16525e authored by Samuel Tardieu's avatar Samuel Tardieu Committed by Wim Van Sebroeck

[WATCHDOG] w83697hf/hg WDT driver - patch 3

This is patch 3 in the series of patches that converts
Marcus Junker's w83697hf watchdog driver to Samuel Tardieau's
w83697hf/hg watchdog driver.

This patch contains following changes:
 - Fix identation.
Signed-off-by: default avatarSamuel Tardieu <sam@rfc1149.net>
Signed-off-by: default avatarWim Van Sebroeck <wim@iguana.be>
parent b41a9f59
...@@ -255,7 +255,7 @@ wdt_close(struct inode *inode, struct file *file) ...@@ -255,7 +255,7 @@ wdt_close(struct inode *inode, struct file *file)
if (expect_close == 42) { if (expect_close == 42) {
wdt_disable(); wdt_disable();
} else { } else {
printk(KERN_CRIT PFX "Unexpected close, not stopping watchdog!\n"); printk (KERN_CRIT PFX "Unexpected close, not stopping watchdog!\n");
wdt_ping(); wdt_ping();
} }
expect_close = 0; expect_close = 0;
...@@ -313,7 +313,7 @@ wdt_init(void) ...@@ -313,7 +313,7 @@ wdt_init(void)
spin_lock_init(&io_lock); spin_lock_init(&io_lock);
printk(KERN_INFO "WDT driver for the Winbond(TM) W83697HF Super I/O chip initialising.\n"); printk (KERN_INFO "WDT driver for the Winbond(TM) W83697HF Super I/O chip initialising.\n");
if (wdt_set_heartbeat(timeout)) { if (wdt_set_heartbeat(timeout)) {
wdt_set_heartbeat(WATCHDOG_TIMEOUT); wdt_set_heartbeat(WATCHDOG_TIMEOUT);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment