Commit 5f3b27569fc0286a51f8d0655c7fb4f5b36aea65
1 parent
4562f53940
Exists in
master
and in
39 other branches
watchdog: cleanup spaces before tabs
cleanup spaces before tabs in drivers/watchdog/ Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Showing 26 changed files with 63 additions and 63 deletions Side-by-side Diff
- drivers/watchdog/alim1535_wdt.c
- drivers/watchdog/bcm47xx_wdt.c
- drivers/watchdog/bfin_wdt.c
- drivers/watchdog/cpwd.c
- drivers/watchdog/eurotechwdt.c
- drivers/watchdog/iTCO_wdt.c
- drivers/watchdog/it8712f_wdt.c
- drivers/watchdog/it87_wdt.c
- drivers/watchdog/machzwd.c
- drivers/watchdog/max63xx_wdt.c
- drivers/watchdog/mpc8xxx_wdt.c
- drivers/watchdog/mpcore_wdt.c
- drivers/watchdog/mtx-1_wdt.c
- drivers/watchdog/omap_wdt.h
- drivers/watchdog/pc87413_wdt.c
- drivers/watchdog/pnx4008_wdt.c
- drivers/watchdog/s3c2410_wdt.c
- drivers/watchdog/sbc8360.c
- drivers/watchdog/sbc_fitpc2_wdt.c
- drivers/watchdog/smsc37b787_wdt.c
- drivers/watchdog/softdog.c
- drivers/watchdog/ts72xx_wdt.c
- drivers/watchdog/w83697ug_wdt.c
- drivers/watchdog/wdt.c
- drivers/watchdog/wdt977.c
- drivers/watchdog/wdt_pci.c
drivers/watchdog/alim1535_wdt.c
... | ... | @@ -362,12 +362,12 @@ |
362 | 362 | */ |
363 | 363 | |
364 | 364 | static const struct file_operations ali_fops = { |
365 | - .owner = THIS_MODULE, | |
366 | - .llseek = no_llseek, | |
365 | + .owner = THIS_MODULE, | |
366 | + .llseek = no_llseek, | |
367 | 367 | .write = ali_write, |
368 | 368 | .unlocked_ioctl = ali_ioctl, |
369 | - .open = ali_open, | |
370 | - .release = ali_release, | |
369 | + .open = ali_open, | |
370 | + .release = ali_release, | |
371 | 371 | }; |
372 | 372 | |
373 | 373 | static struct miscdevice ali_miscdev = { |
drivers/watchdog/bcm47xx_wdt.c
... | ... | @@ -150,8 +150,8 @@ |
150 | 150 | } |
151 | 151 | |
152 | 152 | static const struct watchdog_info bcm47xx_wdt_info = { |
153 | - .identity = DRV_NAME, | |
154 | - .options = WDIOF_SETTIMEOUT | | |
153 | + .identity = DRV_NAME, | |
154 | + .options = WDIOF_SETTIMEOUT | | |
155 | 155 | WDIOF_KEEPALIVEPING | |
156 | 156 | WDIOF_MAGICCLOSE, |
157 | 157 | }; |
drivers/watchdog/bfin_wdt.c
... | ... | @@ -63,7 +63,7 @@ |
63 | 63 | /** |
64 | 64 | * bfin_wdt_keepalive - Keep the Userspace Watchdog Alive |
65 | 65 | * |
66 | - * The Userspace watchdog got a KeepAlive: schedule the next timeout. | |
66 | + * The Userspace watchdog got a KeepAlive: schedule the next timeout. | |
67 | 67 | */ |
68 | 68 | static int bfin_wdt_keepalive(void) |
69 | 69 | { |
... | ... | @@ -337,7 +337,7 @@ |
337 | 337 | static const struct file_operations bfin_wdt_fops = { |
338 | 338 | .owner = THIS_MODULE, |
339 | 339 | .llseek = no_llseek, |
340 | - .write = bfin_wdt_write, | |
340 | + .write = bfin_wdt_write, | |
341 | 341 | .unlocked_ioctl = bfin_wdt_ioctl, |
342 | 342 | .open = bfin_wdt_open, |
343 | 343 | .release = bfin_wdt_release, |
drivers/watchdog/cpwd.c
... | ... | @@ -5,10 +5,10 @@ |
5 | 5 | * interface and Solaris-compatible ioctls as best it is |
6 | 6 | * able. |
7 | 7 | * |
8 | - * NOTE: CP1400 systems appear to have a defective intr_mask | |
9 | - * register on the PLD, preventing the disabling of | |
10 | - * timer interrupts. We use a timer to periodically | |
11 | - * reset 'stopped' watchdogs on affected platforms. | |
8 | + * NOTE: CP1400 systems appear to have a defective intr_mask | |
9 | + * register on the PLD, preventing the disabling of | |
10 | + * timer interrupts. We use a timer to periodically | |
11 | + * reset 'stopped' watchdogs on affected platforms. | |
12 | 12 | * |
13 | 13 | * Copyright (c) 2000 Eric Brower (ebrower@usa.net) |
14 | 14 | * Copyright (C) 2008 David S. Miller <davem@davemloft.net> |
... | ... | @@ -107,13 +107,13 @@ |
107 | 107 | * ------------------- |
108 | 108 | * |- counter val -| |
109 | 109 | * ------------------- |
110 | - * dcntr - Current 16-bit downcounter value. | |
111 | - * When downcounter reaches '0' watchdog expires. | |
112 | - * Reading this register resets downcounter with | |
113 | - * 'limit' value. | |
114 | - * limit - 16-bit countdown value in 1/10th second increments. | |
115 | - * Writing this register begins countdown with input value. | |
116 | - * Reading from this register does not affect counter. | |
110 | + * dcntr - Current 16-bit downcounter value. | |
111 | + * When downcounter reaches '0' watchdog expires. | |
112 | + * Reading this register resets downcounter with | |
113 | + * 'limit' value. | |
114 | + * limit - 16-bit countdown value in 1/10th second increments. | |
115 | + * Writing this register begins countdown with input value. | |
116 | + * Reading from this register does not affect counter. | |
117 | 117 | * NOTES: After watchdog reset, dcntr and limit contain '1' |
118 | 118 | * |
119 | 119 | * status register (byte access): |
... | ... | @@ -123,7 +123,7 @@ |
123 | 123 | * |- UNUSED -| EXP | RUN | |
124 | 124 | * --------------------------- |
125 | 125 | * status- Bit 0 - Watchdog is running |
126 | - * Bit 1 - Watchdog has expired | |
126 | + * Bit 1 - Watchdog has expired | |
127 | 127 | * |
128 | 128 | *** PLD register block definition (struct wd_pld_regblk) |
129 | 129 | * |
... | ... | @@ -197,7 +197,7 @@ |
197 | 197 | * Because of the CP1400 defect this should only be |
198 | 198 | * called during initialzation or by wd_[start|stop]timer() |
199 | 199 | * |
200 | - * index - sub-device index, or -1 for 'all' | |
200 | + * index - sub-device index, or -1 for 'all' | |
201 | 201 | * enable - non-zero to enable interrupts, zero to disable |
202 | 202 | */ |
203 | 203 | static void cpwd_toggleintr(struct cpwd *p, int index, int enable) |
204 | 204 | |
... | ... | @@ -317,13 +317,13 @@ |
317 | 317 | } else { |
318 | 318 | /* Fudge WD_EXPIRED status for defective CP1400-- |
319 | 319 | * IF timer is running |
320 | - * AND brokenstop is set | |
321 | - * AND an interrupt has been serviced | |
320 | + * AND brokenstop is set | |
321 | + * AND an interrupt has been serviced | |
322 | 322 | * we are WD_EXPIRED. |
323 | 323 | * |
324 | 324 | * IF timer is running |
325 | - * AND brokenstop is set | |
326 | - * AND no interrupt has been serviced | |
325 | + * AND brokenstop is set | |
326 | + * AND no interrupt has been serviced | |
327 | 327 | * we are WD_FREERUN. |
328 | 328 | */ |
329 | 329 | if (p->broken && |
... | ... | @@ -614,7 +614,7 @@ |
614 | 614 | |
615 | 615 | if (p->broken) { |
616 | 616 | init_timer(&cpwd_timer); |
617 | - cpwd_timer.function = cpwd_brokentimer; | |
617 | + cpwd_timer.function = cpwd_brokentimer; | |
618 | 618 | cpwd_timer.data = (unsigned long) p; |
619 | 619 | cpwd_timer.expires = WD_BTIMEOUT; |
620 | 620 |
drivers/watchdog/eurotechwdt.c
drivers/watchdog/iTCO_wdt.c
drivers/watchdog/it8712f_wdt.c
... | ... | @@ -69,7 +69,7 @@ |
69 | 69 | #define IT8712F_DEVID 0x8712 |
70 | 70 | |
71 | 71 | #define LDN_GPIO 0x07 /* GPIO and Watch Dog Timer */ |
72 | -#define LDN_GAME 0x09 /* Game Port */ | |
72 | +#define LDN_GAME 0x09 /* Game Port */ | |
73 | 73 | |
74 | 74 | #define WDT_CONTROL 0x71 /* WDT Register: Control */ |
75 | 75 | #define WDT_CONFIG 0x72 /* WDT Register: Configuration */ |
drivers/watchdog/it87_wdt.c
... | ... | @@ -54,7 +54,7 @@ |
54 | 54 | /* Defaults for Module Parameter */ |
55 | 55 | #define DEFAULT_NOGAMEPORT 0 |
56 | 56 | #define DEFAULT_EXCLUSIVE 1 |
57 | -#define DEFAULT_TIMEOUT 60 | |
57 | +#define DEFAULT_TIMEOUT 60 | |
58 | 58 | #define DEFAULT_TESTMODE 0 |
59 | 59 | #define DEFAULT_NOWAYOUT WATCHDOG_NOWAYOUT |
60 | 60 | |
61 | 61 | |
... | ... | @@ -70,9 +70,9 @@ |
70 | 70 | /* Configuration Registers and Functions */ |
71 | 71 | #define LDNREG 0x07 |
72 | 72 | #define CHIPID 0x20 |
73 | -#define CHIPREV 0x22 | |
73 | +#define CHIPREV 0x22 | |
74 | 74 | #define ACTREG 0x30 |
75 | -#define BASEREG 0x60 | |
75 | +#define BASEREG 0x60 | |
76 | 76 | |
77 | 77 | /* Chip Id numbers */ |
78 | 78 | #define NO_DEV_ID 0xffff |
... | ... | @@ -86,7 +86,7 @@ |
86 | 86 | #define IT8726_ID 0x8726 /* the data sheet suggest wrongly 0x8716 */ |
87 | 87 | |
88 | 88 | /* GPIO Configuration Registers LDN=0x07 */ |
89 | -#define WDTCTRL 0x71 | |
89 | +#define WDTCTRL 0x71 | |
90 | 90 | #define WDTCFG 0x72 |
91 | 91 | #define WDTVALLSB 0x73 |
92 | 92 | #define WDTVALMSB 0x74 |
... | ... | @@ -107,7 +107,7 @@ |
107 | 107 | #define WDT_INT_MASK 0x0f |
108 | 108 | |
109 | 109 | /* CIR Configuration Register LDN=0x0a */ |
110 | -#define CIR_ILS 0x70 | |
110 | +#define CIR_ILS 0x70 | |
111 | 111 | |
112 | 112 | /* The default Base address is not always available, we use this */ |
113 | 113 | #define CIR_BASE 0x0208 |
drivers/watchdog/machzwd.c
drivers/watchdog/max63xx_wdt.c
drivers/watchdog/mpc8xxx_wdt.c
... | ... | @@ -2,9 +2,9 @@ |
2 | 2 | * mpc8xxx_wdt.c - MPC8xx/MPC83xx/MPC86xx watchdog userspace interface |
3 | 3 | * |
4 | 4 | * Authors: Dave Updegraff <dave@cray.org> |
5 | - * Kumar Gala <galak@kernel.crashing.org> | |
6 | - * Attribution: from 83xx_wst: Florian Schirmer <jolt@tuxbox.org> | |
7 | - * ..and from sc520_wdt | |
5 | + * Kumar Gala <galak@kernel.crashing.org> | |
6 | + * Attribution: from 83xx_wst: Florian Schirmer <jolt@tuxbox.org> | |
7 | + * ..and from sc520_wdt | |
8 | 8 | * Copyright (c) 2008 MontaVista Software, Inc. |
9 | 9 | * Anton Vorontsov <avorontsov@ru.mvista.com> |
10 | 10 | * |
drivers/watchdog/mpcore_wdt.c
drivers/watchdog/mtx-1_wdt.c
... | ... | @@ -190,19 +190,19 @@ |
190 | 190 | } |
191 | 191 | |
192 | 192 | static const struct file_operations mtx1_wdt_fops = { |
193 | - .owner = THIS_MODULE, | |
193 | + .owner = THIS_MODULE, | |
194 | 194 | .llseek = no_llseek, |
195 | 195 | .unlocked_ioctl = mtx1_wdt_ioctl, |
196 | - .open = mtx1_wdt_open, | |
197 | - .write = mtx1_wdt_write, | |
198 | - .release = mtx1_wdt_release, | |
196 | + .open = mtx1_wdt_open, | |
197 | + .write = mtx1_wdt_write, | |
198 | + .release = mtx1_wdt_release, | |
199 | 199 | }; |
200 | 200 | |
201 | 201 | |
202 | 202 | static struct miscdevice mtx1_wdt_misc = { |
203 | - .minor = WATCHDOG_MINOR, | |
204 | - .name = "watchdog", | |
205 | - .fops = &mtx1_wdt_fops, | |
203 | + .minor = WATCHDOG_MINOR, | |
204 | + .name = "watchdog", | |
205 | + .fops = &mtx1_wdt_fops, | |
206 | 206 | }; |
207 | 207 | |
208 | 208 |
drivers/watchdog/omap_wdt.h
... | ... | @@ -44,7 +44,7 @@ |
44 | 44 | * months before firing. These limits work without scaling, |
45 | 45 | * with the 60 second default assumed by most tools and docs. |
46 | 46 | */ |
47 | -#define TIMER_MARGIN_MAX (24 * 60 * 60) /* 1 day */ | |
47 | +#define TIMER_MARGIN_MAX (24 * 60 * 60) /* 1 day */ | |
48 | 48 | #define TIMER_MARGIN_DEFAULT 60 /* 60 secs */ |
49 | 49 | #define TIMER_MARGIN_MIN 1 |
50 | 50 |
drivers/watchdog/pc87413_wdt.c
... | ... | @@ -514,7 +514,7 @@ |
514 | 514 | /* -- Module init functions -------------------------------------*/ |
515 | 515 | |
516 | 516 | /** |
517 | - * pc87413_init: module's "constructor" | |
517 | + * pc87413_init: module's "constructor" | |
518 | 518 | * |
519 | 519 | * Set up the WDT watchdog board. All we have to do is grab the |
520 | 520 | * resources we require and bitch if anyone beat us to them. |
drivers/watchdog/pnx4008_wdt.c
drivers/watchdog/s3c2410_wdt.c
drivers/watchdog/sbc8360.c
drivers/watchdog/sbc_fitpc2_wdt.c
drivers/watchdog/smsc37b787_wdt.c
... | ... | @@ -434,11 +434,11 @@ |
434 | 434 | } uarg; |
435 | 435 | |
436 | 436 | static const struct watchdog_info ident = { |
437 | - .options = WDIOF_KEEPALIVEPING | | |
437 | + .options = WDIOF_KEEPALIVEPING | | |
438 | 438 | WDIOF_SETTIMEOUT | |
439 | 439 | WDIOF_MAGICCLOSE, |
440 | 440 | .firmware_version = 0, |
441 | - .identity = "SMsC 37B787 Watchdog", | |
441 | + .identity = "SMsC 37B787 Watchdog", | |
442 | 442 | }; |
443 | 443 | |
444 | 444 | uarg.i = (int __user *)arg; |
drivers/watchdog/softdog.c
drivers/watchdog/ts72xx_wdt.c
drivers/watchdog/w83697ug_wdt.c
... | ... | @@ -87,10 +87,10 @@ |
87 | 87 | outb_p(0x87, WDT_EFER); /* Enter extended function mode */ |
88 | 88 | outb_p(0x87, WDT_EFER); /* Again according to manual */ |
89 | 89 | |
90 | - outb(0x20, WDT_EFER); /* check chip version */ | |
90 | + outb(0x20, WDT_EFER); /* check chip version */ | |
91 | 91 | version = inb(WDT_EFDR); |
92 | 92 | |
93 | - if (version == 0x68) { /* W83697UG */ | |
93 | + if (version == 0x68) { /* W83697UG */ | |
94 | 94 | printk(KERN_INFO PFX "Watchdog chip version 0x%02x = " |
95 | 95 | "W83697UG/UF found at 0x%04x\n", version, wdt_io); |
96 | 96 |
drivers/watchdog/wdt.c
drivers/watchdog/wdt977.c
drivers/watchdog/wdt_pci.c
... | ... | @@ -31,7 +31,7 @@ |
31 | 31 | * Jeff Garzik : PCI cleanups |
32 | 32 | * Tigran Aivazian : Restructured wdtpci_init_one() to handle |
33 | 33 | * failures |
34 | - * Joel Becker : Added WDIOC_GET/SETTIMEOUT | |
34 | + * Joel Becker : Added WDIOC_GET/SETTIMEOUT | |
35 | 35 | * Zwane Mwaikambo : Magic char closing, locking changes, |
36 | 36 | * cleanups |
37 | 37 | * Matt Domsch : nowayout module option |
... | ... | @@ -764,7 +764,7 @@ |
764 | 764 | |
765 | 765 | |
766 | 766 | /** |
767 | - * wdtpci_init: | |
767 | + * wdtpci_init: | |
768 | 768 | * |
769 | 769 | * Set up the WDT watchdog board. All we have to do is grab the |
770 | 770 | * resources we require and bitch if anyone beat us to them. |