aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/watchdog/sc520_wdt.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/sc520_wdt.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/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)
290 .identity = "SC520", 290 .identity = "SC520",
291 }; 291 };
292 292
293 switch (cmd) 293 switch (cmd) {
294 {
295 default: 294 default:
296 return -ENOTTY; 295 return -ENOTTY;
297 case WDIOC_GETSUPPORT: 296 case WDIOC_GETSUPPORT: