summaryrefslogtreecommitdiffstats
path: root/drivers/char/watchdog/cpu5wdt.c
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2007-07-24 09:07:27 +0200
committerWim Van Sebroeck <wim@iguana.be>2007-07-24 18:45:30 +0200
commit4e24f4edb6e04677c04fc5b456eb4be95d93f2cd (patch)
treed71254a6872192f303be45bc1f3df0ba90ab2956 /drivers/char/watchdog/cpu5wdt.c
parent[WATCHDOG] Clean-up Kconfig+Makefile (diff)
downloadlinux-4e24f4edb6e04677c04fc5b456eb4be95d93f2cd.tar.xz
linux-4e24f4edb6e04677c04fc5b456eb4be95d93f2cd.zip
[WATCHDOG] git-watchdog-typo
From: Andrew Morton <akpm@linux-foundation.org> This driver isn't very coding-style friendly. Signed-off-by: Wim Van Sebroeck <wim@iguana.be> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'drivers/char/watchdog/cpu5wdt.c')
-rw-r--r--drivers/char/watchdog/cpu5wdt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/watchdog/cpu5wdt.c b/drivers/char/watchdog/cpu5wdt.c
index 20eb6c3e9853..5941ca601a3a 100644
--- a/drivers/char/watchdog/cpu5wdt.c
+++ b/drivers/char/watchdog/cpu5wdt.c
@@ -164,7 +164,7 @@ static int cpu5wdt_ioctl(struct inode *inode, struct file *file, unsigned int cm
break;
case WDIOC_GETBOOTSTATUS:
if ( copy_to_user(argp, &value, sizeof(int)) )
- retrun -EFAULT;
+ return -EFAULT;
break;
case WDIOC_GETSUPPORT:
if ( copy_to_user(argp, &ident, sizeof(ident)) )