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/mISDN/hfc_multi_8xx.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/hardware/mISDN/hfc_multi_8xx.h')
-rw-r--r-- | drivers/isdn/hardware/mISDN/hfc_multi_8xx.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/drivers/isdn/hardware/mISDN/hfc_multi_8xx.h b/drivers/isdn/hardware/mISDN/hfc_multi_8xx.h index 45ddced956d5..0eafe9f04fca 100644 --- a/drivers/isdn/hardware/mISDN/hfc_multi_8xx.h +++ b/drivers/isdn/hardware/mISDN/hfc_multi_8xx.h | |||
@@ -16,9 +16,9 @@ | |||
16 | static void | 16 | static void |
17 | #ifdef HFC_REGISTER_DEBUG | 17 | #ifdef HFC_REGISTER_DEBUG |
18 | HFC_outb_embsd(struct hfc_multi *hc, u_char reg, u_char val, | 18 | HFC_outb_embsd(struct hfc_multi *hc, u_char reg, u_char val, |
19 | const char *function, int line) | 19 | const char *function, int line) |
20 | #else | 20 | #else |
21 | HFC_outb_embsd(struct hfc_multi *hc, u_char reg, u_char val) | 21 | HFC_outb_embsd(struct hfc_multi *hc, u_char reg, u_char val) |
22 | #endif | 22 | #endif |
23 | { | 23 | { |
24 | hc->immap->im_ioport.iop_padat |= PA_XHFC_A0; | 24 | hc->immap->im_ioport.iop_padat |= PA_XHFC_A0; |
@@ -30,7 +30,7 @@ static u_char | |||
30 | #ifdef HFC_REGISTER_DEBUG | 30 | #ifdef HFC_REGISTER_DEBUG |
31 | HFC_inb_embsd(struct hfc_multi *hc, u_char reg, const char *function, int line) | 31 | HFC_inb_embsd(struct hfc_multi *hc, u_char reg, const char *function, int line) |
32 | #else | 32 | #else |
33 | HFC_inb_embsd(struct hfc_multi *hc, u_char reg) | 33 | HFC_inb_embsd(struct hfc_multi *hc, u_char reg) |
34 | #endif | 34 | #endif |
35 | { | 35 | { |
36 | hc->immap->im_ioport.iop_padat |= PA_XHFC_A0; | 36 | hc->immap->im_ioport.iop_padat |= PA_XHFC_A0; |
@@ -42,7 +42,7 @@ static u_short | |||
42 | #ifdef HFC_REGISTER_DEBUG | 42 | #ifdef HFC_REGISTER_DEBUG |
43 | HFC_inw_embsd(struct hfc_multi *hc, u_char reg, const char *function, int line) | 43 | HFC_inw_embsd(struct hfc_multi *hc, u_char reg, const char *function, int line) |
44 | #else | 44 | #else |
45 | HFC_inw_embsd(struct hfc_multi *hc, u_char reg) | 45 | HFC_inw_embsd(struct hfc_multi *hc, u_char reg) |
46 | #endif | 46 | #endif |
47 | { | 47 | { |
48 | hc->immap->im_ioport.iop_padat |= PA_XHFC_A0; | 48 | hc->immap->im_ioport.iop_padat |= PA_XHFC_A0; |
@@ -54,7 +54,7 @@ static void | |||
54 | #ifdef HFC_REGISTER_DEBUG | 54 | #ifdef HFC_REGISTER_DEBUG |
55 | HFC_wait_embsd(struct hfc_multi *hc, const char *function, int line) | 55 | HFC_wait_embsd(struct hfc_multi *hc, const char *function, int line) |
56 | #else | 56 | #else |
57 | HFC_wait_embsd(struct hfc_multi *hc) | 57 | HFC_wait_embsd(struct hfc_multi *hc) |
58 | #endif | 58 | #endif |
59 | { | 59 | { |
60 | hc->immap->im_ioport.iop_padat |= PA_XHFC_A0; | 60 | hc->immap->im_ioport.iop_padat |= PA_XHFC_A0; |
@@ -96,8 +96,8 @@ static int | |||
96 | setup_embedded(struct hfc_multi *hc, struct hm_map *m) | 96 | setup_embedded(struct hfc_multi *hc, struct hm_map *m) |
97 | { | 97 | { |
98 | printk(KERN_INFO | 98 | printk(KERN_INFO |
99 | "HFC-multi: card manufacturer: '%s' card name: '%s' clock: %s\n", | 99 | "HFC-multi: card manufacturer: '%s' card name: '%s' clock: %s\n", |
100 | m->vendor_name, m->card_name, m->clock2 ? "double" : "normal"); | 100 | m->vendor_name, m->card_name, m->clock2 ? "double" : "normal"); |
101 | 101 | ||
102 | hc->pci_dev = NULL; | 102 | hc->pci_dev = NULL; |
103 | if (m->clock2) | 103 | if (m->clock2) |
@@ -129,20 +129,20 @@ setup_embedded(struct hfc_multi *hc, struct hm_map *m) | |||
129 | hc->write_fifo = write_fifo_embsd; | 129 | hc->write_fifo = write_fifo_embsd; |
130 | hc->xhfc_origmembase = XHFC_MEMBASE + XHFC_OFFSET * hc->id; | 130 | hc->xhfc_origmembase = XHFC_MEMBASE + XHFC_OFFSET * hc->id; |
131 | hc->xhfc_membase = (u_char *)ioremap(hc->xhfc_origmembase, | 131 | hc->xhfc_membase = (u_char *)ioremap(hc->xhfc_origmembase, |
132 | XHFC_MEMSIZE); | 132 | XHFC_MEMSIZE); |
133 | if (!hc->xhfc_membase) { | 133 | if (!hc->xhfc_membase) { |
134 | printk(KERN_WARNING | 134 | printk(KERN_WARNING |
135 | "HFC-multi: failed to remap xhfc address space. " | 135 | "HFC-multi: failed to remap xhfc address space. " |
136 | "(internal error)\n"); | 136 | "(internal error)\n"); |
137 | return -EIO; | 137 | return -EIO; |
138 | } | 138 | } |
139 | hc->xhfc_memaddr = (u_long *)(hc->xhfc_membase + 4); | 139 | hc->xhfc_memaddr = (u_long *)(hc->xhfc_membase + 4); |
140 | hc->xhfc_memdata = (u_long *)(hc->xhfc_membase); | 140 | hc->xhfc_memdata = (u_long *)(hc->xhfc_membase); |
141 | printk(KERN_INFO | 141 | printk(KERN_INFO |
142 | "HFC-multi: xhfc_membase:%#lx xhfc_origmembase:%#lx " | 142 | "HFC-multi: xhfc_membase:%#lx xhfc_origmembase:%#lx " |
143 | "xhfc_memaddr:%#lx xhfc_memdata:%#lx\n", | 143 | "xhfc_memaddr:%#lx xhfc_memdata:%#lx\n", |
144 | (u_long)hc->xhfc_membase, hc->xhfc_origmembase, | 144 | (u_long)hc->xhfc_membase, hc->xhfc_origmembase, |
145 | (u_long)hc->xhfc_memaddr, (u_long)hc->xhfc_memdata); | 145 | (u_long)hc->xhfc_memaddr, (u_long)hc->xhfc_memdata); |
146 | break; | 146 | break; |
147 | default: | 147 | default: |
148 | printk(KERN_WARNING "HFC-multi: Invalid IO mode.\n"); | 148 | printk(KERN_WARNING "HFC-multi: Invalid IO mode.\n"); |