aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/isdn/sc/message.h
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2012-02-19 22:52:38 -0500
committerJoe Perches <joe@perches.com>2012-02-21 12:04:01 -0500
commit475be4d85a274d0961593db41cf85689db1d583c (patch)
treeb2b8931eb747794730522c3cf1898e46948527b9 /drivers/isdn/sc/message.h
parent0b0a635f79f91f3755b6518627ea06dd0dbfd523 (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/sc/message.h')
-rw-r--r--drivers/isdn/sc/message.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/drivers/isdn/sc/message.h b/drivers/isdn/sc/message.h
index 8eb15e7306b2..5e6f4a5c15f8 100644
--- a/drivers/isdn/sc/message.h
+++ b/drivers/isdn/sc/message.h
@@ -21,7 +21,7 @@
21/* 21/*
22 * Board message macros, defines and structures 22 * Board message macros, defines and structures
23 */ 23 */
24 24
25#ifndef MESSAGE_H 25#ifndef MESSAGE_H
26#define MESSAGE_H 26#define MESSAGE_H
27 27
@@ -36,19 +36,19 @@
36 * Macro to determine if a message is a loader message 36 * Macro to determine if a message is a loader message
37 */ 37 */
38#define IS_CM_MESSAGE(mesg, tx, cx, dx) \ 38#define IS_CM_MESSAGE(mesg, tx, cx, dx) \
39 ((mesg.type == cmRspType##tx) \ 39 ((mesg.type == cmRspType##tx) \
40 &&(mesg.class == cmRspClass##cx) \ 40 && (mesg.class == cmRspClass##cx) \
41 &&(mesg.code == cmRsp##dx)) 41 && (mesg.code == cmRsp##dx))
42 42
43/* 43/*
44 * Macro to determine if a message is a firmware message 44 * Macro to determine if a message is a firmware message
45 */ 45 */
46#define IS_CE_MESSAGE(mesg, tx, cx, dx) \ 46#define IS_CE_MESSAGE(mesg, tx, cx, dx) \
47 ((mesg.type == ceRspType##tx) \ 47 ((mesg.type == ceRspType##tx) \
48 &&(mesg.class == ceRspClass##cx) \ 48 && (mesg.class == ceRspClass##cx) \
49 &&(mesg.code == ceRsp##tx##dx)) 49 && (mesg.code == ceRsp##tx##dx))
50 50
51/* 51/*
52 * Loader Request and Response Messages 52 * Loader Request and Response Messages
53 */ 53 */
54 54
@@ -186,7 +186,7 @@ typedef struct {
186} LLData; 186} LLData;
187 187
188 188
189/* 189/*
190 * Message payload template for an HWConfig message 190 * Message payload template for an HWConfig message
191 */ 191 */
192typedef struct { 192typedef struct {