summaryrefslogtreecommitdiffstats
path: root/drivers/watchdog/geodewdt.c
diff options
context:
space:
mode:
authorWim Van Sebroeck2008-07-17 20:08:47 +0200
committerWim Van Sebroeck2008-08-06 15:21:05 +0200
commit5eb82498e3a6da8a979c48945e3c1a85c10ccc25 (patch)
treebc16dd667fb48b83a5009407049c6ffb5a296cbc /drivers/watchdog/geodewdt.c
parent[WATCHDOG] mpc8xxx_wdt: add support for MPC8xx watchdogs (diff)
downloadkernel-qcow2-linux-5eb82498e3a6da8a979c48945e3c1a85c10ccc25.tar.gz
kernel-qcow2-linux-5eb82498e3a6da8a979c48945e3c1a85c10ccc25.tar.xz
kernel-qcow2-linux-5eb82498e3a6da8a979c48945e3c1a85c10ccc25.zip
[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,
.identity = WATCHDOG_NAME,
};
- switch(cmd) {
+ switch (cmd) {
case WDIOC_GETSUPPORT:
return copy_to_user(argp, &ident,
sizeof(ident)) ? -EFAULT : 0;