Skip to content

Commit

Permalink
isdn: whitespace coding style cleanup
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Joe Perches committed Feb 21, 2012
1 parent 0b0a635 commit 475be4d
Show file tree
Hide file tree
Showing 314 changed files with 50,359 additions and 50,455 deletions.
28 changes: 14 additions & 14 deletions drivers/isdn/act2000/act2000.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* Author Fritz Elfert
* Copyright by Fritz Elfert <fritz@isdn4linux.de>
*
*
* This software may be used and distributed according to the terms
* of the GNU General Public License, incorporated herein by reference.
*
Expand Down Expand Up @@ -40,21 +40,21 @@
/* Struct for adding new cards */
typedef struct act2000_cdef {
int bus;
int port;
int irq;
char id[10];
int port;
int irq;
char id[10];
} act2000_cdef;

/* Struct for downloading firmware */
typedef struct act2000_ddef {
int length; /* Length of code */
char __user *buffer; /* Ptr. to code */
int length; /* Length of code */
char __user *buffer; /* Ptr. to code */
} act2000_ddef;

typedef struct act2000_fwid {
char isdn[4];
char revlen[2];
char revision[504];
char isdn[4];
char revlen[2];
char revision[504];
} act2000_fwid;

#if defined(__KERNEL__) || defined(__DEBUGVAR__)
Expand Down Expand Up @@ -128,8 +128,8 @@ typedef struct act2000_chan {

typedef struct msn_entry {
char eaz;
char msn[16];
struct msn_entry * next;
char msn[16];
struct msn_entry *next;
} msn_entry;

typedef struct irq_data_isa {
Expand Down Expand Up @@ -183,17 +183,17 @@ typedef struct act2000_card {

static inline void act2000_schedule_tx(act2000_card *card)
{
schedule_work(&card->snd_tq);
schedule_work(&card->snd_tq);
}

static inline void act2000_schedule_rx(act2000_card *card)
{
schedule_work(&card->rcv_tq);
schedule_work(&card->rcv_tq);
}

static inline void act2000_schedule_poll(act2000_card *card)
{
schedule_work(&card->poll_tq);
schedule_work(&card->poll_tq);
}

extern char *act2000_find_eaz(act2000_card *, char);
Expand Down
Loading

0 comments on commit 475be4d

Please sign in to comment.