summaryrefslogtreecommitdiffstats
path: root/drivers/watchdog/sc520_wdt.c
diff options
context:
space:
mode:
authorWim Van Sebroeck <wim@iguana.be>2008-07-17 20:08:47 +0200
committerWim Van Sebroeck <wim@iguana.be>2008-08-06 15:21:05 +0200
commit5eb82498e3a6da8a979c48945e3c1a85c10ccc25 (patch)
treebc16dd667fb48b83a5009407049c6ffb5a296cbc /drivers/watchdog/sc520_wdt.c
parent[WATCHDOG] mpc8xxx_wdt: add support for MPC8xx watchdogs (diff)
downloadlinux-5eb82498e3a6da8a979c48945e3c1a85c10ccc25.tar.xz
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/sc520_wdt.c')
-rw-r--r--drivers/watchdog/sc520_wdt.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/watchdog/sc520_wdt.c b/drivers/watchdog/sc520_wdt.c
index 01de239f49e8..1d5ba15dec63 100644
--- a/drivers/watchdog/sc520_wdt.c
+++ b/drivers/watchdog/sc520_wdt.c
@@ -290,8 +290,7 @@ static long fop_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
.identity = "SC520",
};
- switch (cmd)
- {
+ switch (cmd) {
default:
return -ENOTTY;
case WDIOC_GETSUPPORT: