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/sc520_wdt.c | |
parent | 0d7b101404f7bedcf3f448c1667c3744551cd9ee (diff) | |
download | op-kernel-dev-5eb82498e3a6da8a979c48945e3c1a85c10ccc25.zip op-kernel-dev-5eb82498e3a6da8a979c48945e3c1a85c10ccc25.tar.gz |
[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.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/watchdog/sc520_wdt.c b/drivers/watchdog/sc520_wdt.c index 01de239..1d5ba15 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: |