summaryrefslogtreecommitdiffstats
path: root/drivers/watchdog/wdt977.c
diff options
context:
space:
mode:
authorWim Van Sebroeck2009-03-18 09:35:09 +0100
committerWim Van Sebroeck2009-03-25 10:07:04 +0100
commit143a2e54bf53216674eada16e8953f48b159e08a (patch)
tree009497fad6a7d28aae80f490007ce78736afb82c /drivers/watchdog/wdt977.c
parent[WATCHDOG] struct file_operations should be const (diff)
downloadkernel-qcow2-linux-143a2e54bf53216674eada16e8953f48b159e08a.tar.gz
kernel-qcow2-linux-143a2e54bf53216674eada16e8953f48b159e08a.tar.xz
kernel-qcow2-linux-143a2e54bf53216674eada16e8953f48b159e08a.zip
[WATCHDOG] More coding-style and trivial clean-up
Some more cleaning-up of the watchdog drivers. Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'drivers/watchdog/wdt977.c')
-rw-r--r--drivers/watchdog/wdt977.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/watchdog/wdt977.c b/drivers/watchdog/wdt977.c
index 60e28d49ff52..90ef70eb47d7 100644
--- a/drivers/watchdog/wdt977.c
+++ b/drivers/watchdog/wdt977.c
@@ -401,7 +401,7 @@ static long wdt977_ioctl(struct file *file, unsigned int cmd,
return -EFAULT;
if (wdt977_set_timeout(new_timeout))
- return -EINVAL;
+ return -EINVAL;
wdt977_keepalive();
/* Fall */