diff options
author | Joe Perches <joe@perches.com> | 2012-02-19 22:52:38 -0500 |
---|---|---|
committer | Joe Perches <joe@perches.com> | 2012-02-21 12:04:01 -0500 |
commit | 475be4d85a274d0961593db41cf85689db1d583c (patch) | |
tree | b2b8931eb747794730522c3cf1898e46948527b9 /drivers/isdn/gigaset/gigaset.h | |
parent | 0b0a635f79f91f3755b6518627ea06dd0dbfd523 (diff) |
isdn: whitespace coding style cleanup
isdn source code uses a not-current coding style.
Update the coding style used on a per-line basis
so that git diff -w shows only elided blank lines
at EOF.
Done with emacs and some scripts and some typing.
Built x86 allyesconfig.
No detected change in objdump -d or size.
Signed-off-by: Joe Perches <joe@perches.com>
Diffstat (limited to 'drivers/isdn/gigaset/gigaset.h')
-rw-r--r-- | drivers/isdn/gigaset/gigaset.h | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/drivers/isdn/gigaset/gigaset.h b/drivers/isdn/gigaset/gigaset.h index 212efaf9a4e4..8fad99e5dbd4 100644 --- a/drivers/isdn/gigaset/gigaset.h +++ b/drivers/isdn/gigaset/gigaset.h | |||
@@ -91,11 +91,11 @@ enum debuglevel { | |||
91 | 91 | ||
92 | #ifdef CONFIG_GIGASET_DEBUG | 92 | #ifdef CONFIG_GIGASET_DEBUG |
93 | 93 | ||
94 | #define gig_dbg(level, format, arg...) \ | 94 | #define gig_dbg(level, format, arg...) \ |
95 | do { \ | 95 | do { \ |
96 | if (unlikely(((enum debuglevel)gigaset_debuglevel) & (level))) \ | 96 | if (unlikely(((enum debuglevel)gigaset_debuglevel) & (level))) \ |
97 | printk(KERN_DEBUG KBUILD_MODNAME ": " format "\n", \ | 97 | printk(KERN_DEBUG KBUILD_MODNAME ": " format "\n", \ |
98 | ## arg); \ | 98 | ## arg); \ |
99 | } while (0) | 99 | } while (0) |
100 | #define DEBUG_DEFAULT (DEBUG_TRANSCMD | DEBUG_CMD | DEBUG_USBREQ) | 100 | #define DEBUG_DEFAULT (DEBUG_TRANSCMD | DEBUG_CMD | DEBUG_USBREQ) |
101 | 101 | ||
@@ -164,7 +164,7 @@ void gigaset_dbg_buffer(enum debuglevel level, const unsigned char *msg, | |||
164 | #define BAS_CORRFRAMES 4 /* flow control multiplicator */ | 164 | #define BAS_CORRFRAMES 4 /* flow control multiplicator */ |
165 | 165 | ||
166 | #define BAS_INBUFSIZE (BAS_MAXFRAME * BAS_NUMFRAMES) | 166 | #define BAS_INBUFSIZE (BAS_MAXFRAME * BAS_NUMFRAMES) |
167 | /* size of isoc in buf per URB */ | 167 | /* size of isoc in buf per URB */ |
168 | #define BAS_OUTBUFSIZE 4096 /* size of common isoc out buffer */ | 168 | #define BAS_OUTBUFSIZE 4096 /* size of common isoc out buffer */ |
169 | #define BAS_OUTBUFPAD BAS_MAXFRAME /* size of pad area for isoc out buf */ | 169 | #define BAS_OUTBUFPAD BAS_MAXFRAME /* size of pad area for isoc out buf */ |
170 | 170 | ||
@@ -473,17 +473,17 @@ struct cardstate { | |||
473 | int commands_pending; /* flag(s) in xxx.commands_pending have | 473 | int commands_pending; /* flag(s) in xxx.commands_pending have |
474 | been set */ | 474 | been set */ |
475 | struct tasklet_struct event_tasklet; | 475 | struct tasklet_struct event_tasklet; |
476 | /* tasklet for serializing AT commands. | 476 | /* tasklet for serializing AT commands. |
477 | * Scheduled | 477 | * Scheduled |
478 | * -> for modem reponses (and | 478 | * -> for modem reponses (and |
479 | * incoming data for M10x) | 479 | * incoming data for M10x) |
480 | * -> on timeout | 480 | * -> on timeout |
481 | * -> after setting bits in | 481 | * -> after setting bits in |
482 | * xxx.at_state.pending_command | 482 | * xxx.at_state.pending_command |
483 | * (e.g. command from LL) */ | 483 | * (e.g. command from LL) */ |
484 | struct tasklet_struct write_tasklet; | 484 | struct tasklet_struct write_tasklet; |
485 | /* tasklet for serial output | 485 | /* tasklet for serial output |
486 | * (not used in base driver) */ | 486 | * (not used in base driver) */ |
487 | 487 | ||
488 | /* event queue */ | 488 | /* event queue */ |
489 | struct event_t events[MAX_EVENTS]; | 489 | struct event_t events[MAX_EVENTS]; |
@@ -491,7 +491,7 @@ struct cardstate { | |||
491 | spinlock_t ev_lock; | 491 | spinlock_t ev_lock; |
492 | 492 | ||
493 | /* current modem response */ | 493 | /* current modem response */ |
494 | unsigned char respdata[MAX_RESP_SIZE+1]; | 494 | unsigned char respdata[MAX_RESP_SIZE + 1]; |
495 | unsigned cbytes; | 495 | unsigned cbytes; |
496 | 496 | ||
497 | /* private data of hardware drivers */ | 497 | /* private data of hardware drivers */ |