diff options
author | Wim Van Sebroeck <wim@iguana.be> | 2008-07-17 18:08:47 +0000 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2008-08-06 13:21:05 +0000 |
commit | 5eb82498e3a6da8a979c48945e3c1a85c10ccc25 (patch) | |
tree | bc16dd667fb48b83a5009407049c6ffb5a296cbc /drivers/watchdog/geodewdt.c | |
parent | 0d7b101404f7bedcf3f448c1667c3744551cd9ee (diff) | |
download | blackbird-op-linux-5eb82498e3a6da8a979c48945e3c1a85c10ccc25.tar.gz blackbird-op-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.c | 2 |
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; |