aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/watchdog/geodewdt.c
diff options
context:
space:
mode:
authorWim Van Sebroeck <wim@iguana.be>2008-07-17 14:08:47 -0400
committerWim Van Sebroeck <wim@iguana.be>2008-08-06 09:21:05 -0400
commit5eb82498e3a6da8a979c48945e3c1a85c10ccc25 (patch)
treebc16dd667fb48b83a5009407049c6ffb5a296cbc /drivers/watchdog/geodewdt.c
parent0d7b101404f7bedcf3f448c1667c3744551cd9ee (diff)
[WATCHDOG] Coding style - Indentation - part 1
This brings the watchdog drivers into line with coding style. This patch takes cares of the indentation as described in chapter 1: The preferred way to ease multiple indentation levels in a switch statement is to align the "switch" and its subordinate "case" labels in the same column instead of "double-indenting" the "case" labels. Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'drivers/watchdog/geodewdt.c')
-rw-r--r--drivers/watchdog/geodewdt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/watchdog/geodewdt.c b/drivers/watchdog/geodewdt.c
index a41f57ce581a..74c00698801d 100644
--- a/drivers/watchdog/geodewdt.c
+++ b/drivers/watchdog/geodewdt.c
@@ -149,7 +149,7 @@ geodewdt_ioctl(struct inode *inode, struct file *file, unsigned int cmd,
149 .identity = WATCHDOG_NAME, 149 .identity = WATCHDOG_NAME,
150 }; 150 };
151 151
152 switch(cmd) { 152 switch (cmd) {
153 case WDIOC_GETSUPPORT: 153 case WDIOC_GETSUPPORT:
154 return copy_to_user(argp, &ident, 154 return copy_to_user(argp, &ident,
155 sizeof(ident)) ? -EFAULT : 0; 155 sizeof(ident)) ? -EFAULT : 0;