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/hardware/avm/b1isa.c | |
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/hardware/avm/b1isa.c')
-rw-r--r-- | drivers/isdn/hardware/avm/b1isa.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/drivers/isdn/hardware/avm/b1isa.c b/drivers/isdn/hardware/avm/b1isa.c index ff5390546f9..31ef8130a87 100644 --- a/drivers/isdn/hardware/avm/b1isa.c +++ b/drivers/isdn/hardware/avm/b1isa.c | |||
@@ -1,9 +1,9 @@ | |||
1 | /* $Id: b1isa.c,v 1.1.2.3 2004/02/10 01:07:12 keil Exp $ | 1 | /* $Id: b1isa.c,v 1.1.2.3 2004/02/10 01:07:12 keil Exp $ |
2 | * | 2 | * |
3 | * Module for AVM B1 ISA-card. | 3 | * Module for AVM B1 ISA-card. |
4 | * | 4 | * |
5 | * Copyright 1999 by Carsten Paeth <calle@calle.de> | 5 | * Copyright 1999 by Carsten Paeth <calle@calle.de> |
6 | * | 6 | * |
7 | * This software may be used and distributed according to the terms | 7 | * This software may be used and distributed according to the terms |
8 | * of the GNU General Public License, incorporated herein by reference. | 8 | * of the GNU General Public License, incorporated herein by reference. |
9 | * | 9 | * |
@@ -80,7 +80,7 @@ static int b1isa_probe(struct pci_dev *pdev) | |||
80 | card->cardtype = avm_b1isa; | 80 | card->cardtype = avm_b1isa; |
81 | sprintf(card->name, "b1isa-%x", card->port); | 81 | sprintf(card->name, "b1isa-%x", card->port); |
82 | 82 | ||
83 | if ( card->port != 0x150 && card->port != 0x250 | 83 | if (card->port != 0x150 && card->port != 0x250 |
84 | && card->port != 0x300 && card->port != 0x340) { | 84 | && card->port != 0x300 && card->port != 0x340) { |
85 | printk(KERN_WARNING "b1isa: invalid port 0x%x.\n", card->port); | 85 | printk(KERN_WARNING "b1isa: invalid port 0x%x.\n", card->port); |
86 | retval = -EINVAL; | 86 | retval = -EINVAL; |
@@ -136,13 +136,13 @@ static int b1isa_probe(struct pci_dev *pdev) | |||
136 | pci_set_drvdata(pdev, cinfo); | 136 | pci_set_drvdata(pdev, cinfo); |
137 | return 0; | 137 | return 0; |
138 | 138 | ||
139 | err_free_irq: | 139 | err_free_irq: |
140 | free_irq(card->irq, card); | 140 | free_irq(card->irq, card); |
141 | err_release_region: | 141 | err_release_region: |
142 | release_region(card->port, AVMB1_PORTLEN); | 142 | release_region(card->port, AVMB1_PORTLEN); |
143 | err_free: | 143 | err_free: |
144 | b1_free_card(card); | 144 | b1_free_card(card); |
145 | err: | 145 | err: |
146 | return retval; | 146 | return retval; |
147 | } | 147 | } |
148 | 148 | ||
@@ -206,7 +206,7 @@ static int __init b1isa_init(void) | |||
206 | if ((p = strchr(revision, ':')) != NULL && p[1]) { | 206 | if ((p = strchr(revision, ':')) != NULL && p[1]) { |
207 | strlcpy(rev, p + 2, 32); | 207 | strlcpy(rev, p + 2, 32); |
208 | if ((p = strchr(rev, '$')) != NULL && p > rev) | 208 | if ((p = strchr(rev, '$')) != NULL && p > rev) |
209 | *(p-1) = 0; | 209 | *(p - 1) = 0; |
210 | } else | 210 | } else |
211 | strcpy(rev, "1.0"); | 211 | strcpy(rev, "1.0"); |
212 | 212 | ||