Skip to content

Commit 475be4d

Browse files
committed
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>
1 parent 0b0a635 commit 475be4d

314 files changed

Lines changed: 50359 additions & 50455 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎drivers/isdn/act2000/act2000.h‎

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* Author Fritz Elfert
66
* Copyright by Fritz Elfert <fritz@isdn4linux.de>
7-
*
7+
*
88
* This software may be used and distributed according to the terms
99
* of the GNU General Public License, incorporated herein by reference.
1010
*
@@ -40,21 +40,21 @@
4040
/* Struct for adding new cards */
4141
typedef struct act2000_cdef {
4242
int bus;
43-
int port;
44-
int irq;
45-
char id[10];
43+
int port;
44+
int irq;
45+
char id[10];
4646
} act2000_cdef;
4747

4848
/* Struct for downloading firmware */
4949
typedef struct act2000_ddef {
50-
int length; /* Length of code */
51-
char __user *buffer; /* Ptr. to code */
50+
int length; /* Length of code */
51+
char __user *buffer; /* Ptr. to code */
5252
} act2000_ddef;
5353

5454
typedef struct act2000_fwid {
55-
char isdn[4];
56-
char revlen[2];
57-
char revision[504];
55+
char isdn[4];
56+
char revlen[2];
57+
char revision[504];
5858
} act2000_fwid;
5959

6060
#if defined(__KERNEL__) || defined(__DEBUGVAR__)
@@ -128,8 +128,8 @@ typedef struct act2000_chan {
128128

129129
typedef struct msn_entry {
130130
char eaz;
131-
char msn[16];
132-
struct msn_entry * next;
131+
char msn[16];
132+
struct msn_entry *next;
133133
} msn_entry;
134134

135135
typedef struct irq_data_isa {
@@ -183,17 +183,17 @@ typedef struct act2000_card {
183183

184184
static inline void act2000_schedule_tx(act2000_card *card)
185185
{
186-
schedule_work(&card->snd_tq);
186+
schedule_work(&card->snd_tq);
187187
}
188188

189189
static inline void act2000_schedule_rx(act2000_card *card)
190190
{
191-
schedule_work(&card->rcv_tq);
191+
schedule_work(&card->rcv_tq);
192192
}
193193

194194
static inline void act2000_schedule_poll(act2000_card *card)
195195
{
196-
schedule_work(&card->poll_tq);
196+
schedule_work(&card->poll_tq);
197197
}
198198

199199
extern char *act2000_find_eaz(act2000_card *, char);

0 commit comments

Comments
 (0)